What is Test Scenario

Test Scenario: It consists of 2 words ‘Test’ i.e. to check something and ‘Scenario’ i.e. a given condition, therefore it is defined as any functionality that can be tested. It is also known as ‘Test Condition’. As a Software Tester, we are expected to think out of the box, and figure out some real-world scenarios of the Application Under Test (AUT).

Why to create Test Scenarios

Test Scenarios are the very essential part of Software Testing, they are created in order to ensure the following –

  • The Test Coverage is considered as completed when Test Scenarios are created.
  • It is critical in order to understand an Application thoroughly.
  • With the help of Test Scenarios, we can quickly determine the testing work effort required.
  • It helps in creating a proposal for Clients,
  • Also, to organize the workforce within the Project.
How to write Test Scenarios

As a Software Tester, we should follows the below approaches in order to create Test Scenarios –

  • Go through the BRD (Business Requirement Document), FRS (Functional Requirement Specifications) completely, also refer the previously used use cases of the Application.
  • For each requirement, figure out the possible User Actions; similarly for other requirements as well.
  • After going through the Requirement Document, and the Analysis work, List down all the scenarios that verify each feature of the Application.
  • Now, create a Requirement Traceability Matrix (RTM) to ensure that each requirement is covered by at least one Test Scenario.
  • Those created Test Scenarios should be reviewed by the Team Lead/ Peers.

Practical Example# 1: Test Scenario for IRCTC login

Test Scenario# 1: login functionality


Specific Test Cases for this Test Scenario would be as follows –

  • Check the Application behavior when a valid User Name, valid Password and correct captcha is entered.
  • Check the Application behavior when an Invalid User Name, valid Password and correct captcha is entered.
  • Check the Application behavior when a valid User Name, Invalid Password and correct captcha is entered.
  • Check the Application behavior when a valid User Name, valid Password and Incorrect captcha is entered.
  • Check the Application behavior when a valid User Name, valid Password and correct captcha is entered.
  • Verify if the ‘Forgot User ID?’ link is working, as expected.
  • Verify if the ‘Forgot Password’ link is working, as expected.
  • Check if the User is able to check the ‘Login & Booking with OTP’ button.

Test Scenario# 2: Search Trains Functionality


  • Verify if the User is able to enter the Source (From) and To (Destination) in the rectangular boxes.
  • Verify if the user is able to enter the dates in the specified format (i.e. DD/MM/YYYY)
  • Check if the User is able to select the category of the seat for Travel from the dropdown.
  • Check if the User is able to select the types of the passengers from the dropdown.
  • Check if the User is able to select and deselect the checkboxes.
  • Once all the details are entered correctly, and User clicks on the ‘Search’ button, the search result should be displayed based on the inputs.
  • Verify if the User enters the ‘Search’ button without any input value, an error message is displayed.
  • Assignments to Test your Learning of Test Scenarios

  • Write all the high-level Test Scenarios on a Travel Detail page of the irctc.co.in when one Train is selected.
  • Write Test Scenarios on the Payment Page for a successful Travel Ticket booking.

  • Tags


    You may also like

    Leave a Reply

    Your email address will not be published. Required fields are marked

    {"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}