Updated: Jan 18
The topic today is about the difference between test scenarios and test cases. This is pure philosophy and theoretical stuff, but if you want to build your test plan right, knowing their difference can simplify things.
Before you start writing your test in any testing project, you should begin with the areas and functionalities you want to cover in your test plan. Then you have to create all the test scenarios and test cases to support it.
let's take a log-in page, for example:
The test scenarios that we want to check here are:
A User name with valid names
A User name with Invalid names
Each of these test scenarios should now be handheld with corresponding test cases that we will run to ensure that the test scenario is working as expected.
Test Scenario 1: Log in with Valid credentials
Enter user name with 6 Minimum characters and the correct password.
Enter user name with MAX allowed characters and the correct password.
Enter user name with unique characters and the correct password.
Enter the user name with capital letters and the correct password.
Test Scenario 2: Log in with Invalid credentials
Enter user name with less than the MIN allowed characters and the correct password.
Enter a valid user name with the wrong password.
Enter an Invalid user name and a correct password.
Enter only information of user name without credentials.
As you can see, test scenarios are containers for specific test cases that are used to ensure that each test scenario is covered and approved.