A test case has components that describe input, action and an expected response, in order to determine if a feature of an application is working correctly. Here is a real time scenario of writing test case.
A test case is a set of instructions on “HOW” to validate a particular test objective/target, which when followed will tell us if the expected behavior of the system is satisfied or not.
Example test case: generating test data, BVA, ECP
invalid test data: it is combination of one valid and another invalid data ( see BVA,ECP)
How many ways test case can write:
- testing with valid data
- with invalid data
- test reset
- test mandatory field
Test cases is written below excel sheet:
Some test data from above scenario:
Test cases 1 with valid data:
Test case 2 with invalid data:
Test case 3 with rest (Only few data) and mandatory field
Alternative way to writing test cases: it has one test case data excel file and other test case:
another way of writing test case dynamic: one is test data and other is test case.
No comments:
Post a Comment