Wednesday, August 29, 2007

How to write a good test case

Some of the tips for writing good test cases:

1. First, understand the requirement clearly

2. Do required home work for the testability of the requirement

3. Classify the type of requirement(GUI,Functional,Database..)

4. Gather maximum information related and affected areas with this requirement

5. In Details/Prerequisites/Assumptions section write this information(if you are using TD) which will be more useful for other testers

6. Use very simple English and general words in writing the description.(please don't show you english talent here).All test steps should be at low level.

7. Provide test data whenever required(in fact, this is the major factor in mission critical applications).

8. Write detailed database Queries wherever required(it will save time while executing.)

9. Write clear Expected Result.