Test Case


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. The process of developing test cases can also help find problems in the requirements or design of an application.


Test Case Field
Description
 Test case ID:
 
Each test case should be represented by a unique ID. To indicate test types follow some convention like "TC_UI_1" indicating "User Interface Test Case#1."
 Test Priority:
 
 It is useful while executing the test
 Low
 Medium
 High

 Name of the Module:
 Determine the name of the main module or sub-module being tested
 Test Designed by:
 Tester's Name
 Date of test designed:
 Date when test was designed
 Test Executed by:
 Who executed the test- tester
 Date of the Test Execution:
 Date when test needs to be executed
 Name or Test Title:
 Title of the test case
 Description/Summary of Test:
 Determine the summary or test purpose in brief
 Pre-condition:
 Any requirement that needs to be done before execution of this test case. To execute this test case list all pre-conditions
 Dependencies:
 Determine any dependencies on test requirements or other test cases
 Test Steps:
 Mention all the test steps in detail and write in the order in which it requires to be executed. While writing test steps ensure that you provide as much detail as you can
 Test Data:
 Use of test data as an input for the test case. Deliver different data sets with precise values to be used as an input
 Expected Results:
 Mention the expected result including error or message that should appear on screen
 Post-Condition:
 What would be the state of the system after running the test case?
 
 Actual Result:
 After test execution, actual test result should be filled
 Status (Fail/Pass):
 Mark this field as failed, if actual result is not as per the estimated result
 Notes:
 If there are some special condition which is left in above field
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o


Test Case vs Test Scenario


1.Test Case is a set of actions executed to verify particular features or functionality whereas Test Scenario is any functionality that can be tested.

2.Test Case is mostly derived from test scenarios while Test Scenarios are derived from test artifacts like BRS and SRS.

3.Test Case helps in exhaustive testing of an application whereas Test Scenario helps in an agile way of testing the end to end functionality.

4.Test Cases are focused on what to test and how to test while Test Scenario is more focused on what to test.

5.Test Cases are low-level actions whereas Test Scenarios are high-level actions.

6.Test Case requires more resources and time for test execution while Test Scenario requires fewer resources and time for test execution.

7.Test Case includes test steps, data, expected results for testing whereas Test Scenario includes an end to end functionality to be tested.


Here, are significant differences between Test scenario and a Test Case


Test Scenario
Test Case
A test scenario contains high-level documentation which describes an end to end functionality to be tested.
Test cases contain definite test steps, data, expected results for testing all the features of an application.
It focuses on more "what to test" than "how to test".
A complete emphasis on "what to test" and "how to test.".
Test scenarios are a one-liner. So, there is always the possibility of ambiguity during the testing․
Test cases have defined a step, pre-requisites, expected result, etc. Therefore, there is no ambiguity in this process.
Test scenarios are derived from test artifacts like BRS, SRS, etc.
Test case is mostly derived from test scenarios. Multiple Test case can be derived from a single Test Scenario․
It helps in an agile way of testing the end-to-end functionality․
It helps in exhaustive testing of an application․
Test scenarios are high-level actions.
Test cases are low-level actions.
Comparatively less time and resources are required for creating & testing using scenarios.
More resources are needed for documentation and execution of test cases.
o o o o o o o o o o o o o o o o




Useful Links:
Test case article/eng

Test case article/eng

Test case video tutorial/rus

Test case video tutorial/eng

Test case, Test plan video tutorial/arm

Content