Post-Work Test Case

by dez on November 19, 2009 · 2 comments

in Testing

I’ve been writing regression tests today. Here is my post-work test case in web application style:

Steps:

  1. Login to residence using key
  2. Navigate to item ‘Refrigerator’
  3. Drag-n-drop ‘Refrigerator’ door from right to left
    1. This may vary depending on version of ‘Refrigerator’
  4. Search for “Beer” in ‘Refrigerator’
  5. Add quantity one(1) ‘Beer’ to ‘Counter’
  6. Drag-n-drop ‘Refrigerator’ door from left to right
    1. This may vary depending on version of ‘Refrigerator’
  7. Open ‘Beer’
    1. Version 1: Use item ‘Bottle Opener’ on Cap
    2. Version 2: Use hand to grasp and twist Cap counter-clockwise
  8. Navigate to ‘Couch’
  9. Save ‘Self’ to ‘Couch’
  10. Put opening of ‘Beer’ to mouth
  11. Using ‘Arm’ lift opposite end of ‘Beer’ upwards
  12. Repeat steps 2-11 as necessary
  13. Pass out

I’ve got my plans for the night… what about you?

**Expected results intentionally left out.

–dez

  • http://automationbeyond.wordpress.com Albert Gareev

    That seems much more like a Use Case to me.
    Where are the expected results after each step? :)

    • http://iamdez.com dez

      threw it together quickly after joking with my boss about steps for everything… but here you go. Yeah, it definitely comes across as much more of a use case, but you get the idea.

Previous post:

Next post: