What is Test Case? Differentiate between Test Case & Test Scenario?
A test case is a set of conditions or variables under which a tester will determine whether a system under test satisfies requirements or works correctly.
A test case is a document, which has a set of test data, preconditions, expected results and postconditions, developed for a particular test scenario in order to verify compliance against a specific requirement.
The process of developing test cases can also help find problems in the requirements or design of an application.
1- Test Case ID: The ID of the test case.
2- Test Case Name: Test case name or title.
3- Test Suite ID: The ID of the test suite to which this test case belongs.
4- Test Case Summary: The summary / objective of the test case.
5- Test Case Design By: The name of the author of the test case.
6- Test Case Design Date: The creation date of the test case.
7- Test Case Excecuted By: The name of the person who executed the test.
8- Test Case Excecution Date: The date of execution of the test.
9- Prerequisites: Any prerequisites or preconditions that must be fulfilled prior to executing the test.
10- Dependencies: Any dependency of test case to another test case.
11- Priority: Set the test case priority based on priority & saverity.
12- Related Requirement: The ID of the requirement this test case relates/traces to.
13- Test Data: The test data, or links to the test data, that are to be used while conducting the test.
14- Test Procedure(Steps): Step-by-step procedure to execute the test.
15- Expected Result: The expected result of the test.
16- Actual Result: The actual result of the test; to be filled after executing the test.
17- Status: Pass or Fail. Other statuses can be ‘Not Executed’ if testing is not performed and ‘Blocked’ if testing is blocked.
18- Remarks/Notes: Any comments on the test case or test execution.
19- Post Conditions: Post conditions for test case after test case excecution.
20- Test Environment: The environment (Hardware/Software/Network) in which the test was executed.
