A test case is a detailed procedure that fully tests a feature of the software application or an aspect of a feature, depending on the complexity of the application..this describes the various permutation and combination of steps to be carried out to test a feature.
Normally we write two types of test cases.
1. Descriptive: these test cases contains information on how to perform the test and the data that should be used to perform the test
2.Detailed: These test cases describes the manner in which the test should be performed.
In general every organisation try to opt Detailed test cases, because these are reproducible and can be automated easily and can be used to determine the pass and fail criteria for test.
To design a test case, we need to identify certain things:
1. Identify the test case and explicitly associating it with feature to be tested.
2.Mapping test cases with requirements by using requirement traceability matrix.
3. Purpose of the test.
4.Creating a list of specified criteria for which the test should be tested.
5.Creating a list of tests that should be excercise as a consequences of test.
6.Assembling of expected results occure,when test are executed
7.Creative scenario, or conditions in which tests are executed.
8.Assimilate all information that add value to understand the test.
Since test case designing is time consuming. However, if this activity is done extensively then it enables tester to find goal of testing with in time.
A test case also includes certain things that is very important in a sucessful testing.
1. Purpose of testing.
2. Hardware and software environment required.
3. Special configuration requirement like making war room.
4.Detail of the testing processes.
5.Expected results or success criteria of test.
Hope friends you will find this very helpful. Your feedback is needed like energy drink.