test case format -sample

01 Jun

unique-test-case-id: Test Case Title


Short sentence or two about the aspect of the system is being tested. If this gets too long, break the test case up or put more information into the feature descriptions.


Assumptions that must be met before the test case can be run. E.g., “logged in”, “guest login allowed”, “user testuser exists”.

Test Data:

List of variables and their possible values used in the test case. You can list specific values or describe value ranges. The test case should be performed once for each combinationof values. These values are written in set notation, one per line. E.g.:loginID = {Valid loginID, invalid loginID, valid email, invalid email, empty}password = {valid, invalid, empty}


Steps to carry out the test. See step formating rules below.

  1. visit LoginPage
  2. enter userID
  3. enter password
  4. click login
  5. see the terms of use page
  6. click agree radio button at page bottom
  7. click submit button
  8. see PersonalPage
  9. verify that welcome message is correct username

Notes and Questions:

  • NOTE

Format of test steps

Each step can be written very tersely using the following keywords:

login [as ROLE-OR-USER]

Log into the system with a given user or a user of the given type. Usually only stated explicitly when the test case depends on the permissions of a particular role or involves a workflow between different users.


Visit a page or screen. For web applications, LOCATION may be a hyperlink. The location should be a well-known starting point (e.g., the Login screen), drilling down to specific pages should be part of the test.


Fill in a named form field. VALUE can be a literal value or the name of a variable defined in the “Test Data” section. The FIELD-NAME itself can be a variable name when the UI field for that value is clear from context, e.g., “enter password”.

enter FIELDS

Fill in all fields in a form when their values are clear from context or when their specific values are not important in this test case.


Follow a labeled link or press a button. The screen location can be a predefined panel name or English phrase. Predefined panel names are based on GUI class names, master template names, or titles of boxes on the page.


Press a named button. This step should always be followed by a “see” step to check the results.


The tester should see the named GUI screen or web page. The general correctness of the page should be testable based on the feature description.


The tester should see that the condition has been satisfied. This type of step usually follows a “see” step at the end of the test case.

verify CONTENT [is VALUE]

The tester should see the named content on the current page, the correct values should be clear from the test data, or given explicitly. This type of step usually follows a “see” step at the end of the test case.


This is like a subroutine call. The tester should perform all the steps of the named test case and then continue on to the next step of this test case.

Every test case must include a verify step at the end so that the expected output is very clear. A test case can have multiple verify steps in the middle or at the end. Having multiple verify steps can be useful if you want a smaller number of long tests rather than a large number of short tests.

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

11 responses to “test case format -sample

  1. Max Lindsay

    June 23, 2012 at 9:51 PM

    This is certainly such a great contraption that you are offering and you supply it away for 100 % free. I love experiencing websites that fully understand the cost of rendering a high-quality tool for totally free. It’s the out of date whatever available will come all over schedule ..

  2. Devorah Hostert

    June 24, 2012 at 12:27 AM

    Learned how to drive in my Dad’s 58 Sport Fury. His was identical to this one as far as my memory can tell. It was a good car for him as he drove it until late 63 when he traded it in on a 64 Sport Fury with a 426 but that’s another story!

  3. Tomika Stecher

    June 25, 2012 at 5:01 PM

    Very interesting subject, thank you for putting up.

  4. Markita Pacetti

    June 26, 2012 at 8:06 PM

    hello there and thank you for your information – I have definitely picked up anything new from right here. I did however expertise some technical issues using this web site, since I experienced to reload the site many times previous to I could get it to load properly. I had been wondering if your web hosting is OK? Not that I’m complaining, but slow loading instances times will sometimes affect your placement in google and could damage your quality score if ads and marketing with Adwords. Anyway I am adding this RSS to my email and could look out for much more of your respective interesting content. Make sure you update this again soon..

  5. Buy Seized Cars

    June 26, 2012 at 10:02 PM

    Admiring the commitment you put into your blog and detailed information you present. It’s good to come across a blog every once in a while that isn’t the same unwanted rehashed material. Great read! I’ve bookmarked your site and I’m including your RSS feeds to my Google account.

  6. gurgaon apartments

    June 26, 2012 at 11:51 PM

    Exceptional – I really should certainly pronounce, impressed with your site. I had no difficulty navigating signifies all the tabs also as associated info ended up being really simple to complete to entry. I lately discovered what I hoped for prior to you understand it in any respect.

  7. cialis

    June 27, 2012 at 5:16 PM

    This web page is known as a walk-by way of for the entire info you wanted about this and didn’t know who to ask. Glimpse right here, and you’ll undoubtedly uncover it.

  8. klonopin

    June 27, 2012 at 8:06 PM

    After study a few of the blog posts on your website now, and I truly like your way of blogging. I bookmarked it to my bookmark website list and will be checking back soon. Pls check out my web site as well and let me know what you think.

  9. Clifton Camero

    June 29, 2012 at 4:29 AM

    When I originally commented I clicked the -Notify me when new comments are added- checkbox and now each time a comment is added I get four emails with the same comment. Is there any way you can remove me from that service? Thanks!

  10. WWW

    June 29, 2012 at 5:59 PM

    Awesome Blog. I add this Post to my bookmarks.

  11. Mindy

    January 25, 2014 at 10:34 PM

    It seems like you actually fully understand a lot about this topic and it all demonstrates throughout this specific blog,
    named “test case format -sample | Quality Auditor”.
    Thank you -Samual


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: