Example of Test Case
Below are some examples of test cases:
- Check the behaviour of the system when an invalid user id and invalid password are entered.
- Check the behaviour of the system when a valid user id and valid password are entered.
- Check the behaviour of the system when a valid user id and invalid password are entered.
- Check the behaviour of the system when an invalid user id and valid password are entered.
- Check the system behaviour when ‘Keep me signed in’ is selected.
Test Case vs Test Scenario
The article focuses on discussing the difference between test cases and test scenarios. Before proceeding with the difference let’s first discuss each term in detail.
Test cases are the set of actions to execute and test a particular feature of the application on the other hand test scenarios are any functionality that can be tested. Test cases are derived from test scenarios whereas test scenarios are derived from SRS, BRS, etc. Test cases help in the exhaustive testing of the application and test scenarios help in the agile way of testing the application. Test cases are focused on how to test and what to test on the other hand test scenarios are focused on what to test. Test cases require more time and resources as compared to test scenarios. Test cases are low-level actions and test scenarios are high-level actions.