Enroll in Selenium Training

What is Test Scenario?

Test Scenario is made up of two words (Test & Scenario). Where Test means to verify or validate and Scenario means any user journey. When combined it says verify user journey. It is also called Test Condition or Test Possibility means any functionality that can be tested.

Most of the times people get confused with the term Test Scenario & Test Case. Test Scenario is what to be tested and a Test Case is how to be tested. Please take a look at the difference between Test Scenario and Test Condition.

Example

Test Scenario: Validate the login page

  • Test Case 1: Enter a valid username and password
  • Test Case 2: Reset your password
  • Test Case 3: Enter invalid credentials

Test Scenario

What is Scenario Testing?

The exhaustive testing is not possible due to a large number of data combinations and a large number of possible paths in the software. Scenario testing makes sure that end to end functionality of application under test is working as expected and ensures that all business flows are working as expected. As Scenarios are nothing but the User journeys, in scenario testing tester puts themselves in the end users shoes to check and perform the action as how they are using application under test.

What are the Pre-requisites for writing Test Scenarios?

The preparation of scenarios is the most important part. The tester needs to consult or take help from the Client, Business Users, BAs (Business Analyst) or Developers. Once these test scenarios are determined, test cases can be written for each scenario. Test scenarios are the high-level concept of what to test.

  1. Tester must have a good understanding of the business and functional requirements of the application. Scenarios are very critical to business, as test cases are derived from test scenarios. So any miss in Test Scenario would lead to missing of Test Cases as well. That is why Scenario writer plays an important role in project development. A single mistake can lead to a huge loss in terms of cost and time.
  2. Tester must have gone through the requirements carefully. In case of any doubts or clarification, POCs (Point of Contact) should be contacted.
  3. Understand the project workflow, and wireframes (if available) and relate the same to the requirement .

Things to note while writing Test Scenario:

  1. Test Scenarios should be reviewed by the Product Manager/Business Analyst or anyone else who understands the requirements really well.
  2. Domain knowledge is important to get a deeper understanding of the application.
  3. Test scenarios must cover the negative and out-of-the-box testing with a ‘Test to Break’ attitude.
  4. Scenario mapping should be done to make sure that each and every requirement is directly mapped to a number of scenarios. It helps in avoiding any miss.
  5. Ensure that every identified scenario is a story in itself.
Test Case Specification
Test Case Specification
Previous Article
Software Testing Principles
Software Testing Principles
Next Article
Lakshay Sharma
I’M LAKSHAY SHARMA AND I’M A FULL-STACK TEST AUTOMATION ENGINEER. Have passed 16 years playing with automation in mammoth projects like O2 (UK), Sprint (US), TD Bank (CA), Canadian Tire (CA), NHS (UK) & ASOS(UK). Currently, I am working with RABO Bank as a Chapter Lead QA. I am passionate about designing Automation Frameworks that follow OOPS concepts and Design patterns.
Reviewers
Virender Singh's Photo
Virender Singh

Similar Articles

Feedback