EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Free Courses
  • Certification Courses
  • 600+ Courses All in One Bundle
  • Login

What is Test Scenario?

By Yashi GoyalYashi Goyal

Home » Software Development » Software Development Tutorials » Software Testing Tutorial » What is Test Scenario?

What-is-Test-Scenario

Introduction to Test Scenario

A scenario for testing is a sentence defining the application’s functionality. It is used to finish the test of a function and is typically extracted from the use cases. one or more test cases may be protected by a single scenario. A test scenario, therefore, has one relation to many relationships with the test cases. Scenario testing is a form of scenario test performed using the use case scenarios. Complex application logics can be evaluated with scenario testing using basic scenarios for evaluation.

Why to create Test Scenarios?

Multiple test cases can be covered by one test scenario. The relation, therefore, between Test Scenarios and test cases is one-to-many. But each scenario must be taken care of by the tester while creating it. Testers create it to test the application from the point of view of an end-user. Testers seek from all the developers, stakeholders, and customers to prepare them that are critical.

Start Your Free Software Development Course

Web development, programming languages, Software testing & others

Reason for creating them are as follows:

  • Complete and proper Test Coverage is ensured by the creation of perfect Test Scenarios.
  •  Creation of them becomes critical to study the end-to-end functionalities of a program.
  • Most important and critical end-to-end transactions or real-time application usage can be well determined with the proper help of them.
  • They can be used as a tool for quick determination of testing workforce which further helps the clients or organizations for proposal creation and organization of testing workforce effectively and efficiently.
  • For ensuring the thorough and proper testing of applications, approval of it is done at various levels including customers, business analysts, developers, etc.

Similarly, there can be certain circumstances in which the creation of it should be avoided.

  • It may not be created in projects following Agile Methodologies such as Scrum, etc.
  • When the applications to be tested are unstable, or too complicated or when the project is in a critical-time state creation of it may be avoided.
  • Creation of it may be avoided for regression testing or for a new bug because in maintenance projects heavy documentations of them would happen beforehand in the former test cycles.

How Test Scenarios can be Written?

The following steps can be carried out by a tester for the creation of Test Scenarios:

  • Step 1: The document of requirements such as Business Requirement Specification (BRS), Functional Requirement Specification (FRS), and System Requirement Specification (SRS) of the application to be tested should be read thoroughly and carefully. Manuals, books, use cases, etc. of the application under test can be referred for the same.
  • Step 2: All the possible objectives and user actions should be figured out properly for every requirement. All the technical features of every requirement should also be determined.
  • Step 3: All the possible causes of system hack and user evaluation should be done from a hacker’s perspective. User evaluation can be done by finding all the possibilities of user operation of the applications.
  • Step 4: A complete list of all the possible test cases for verifying all the functionalities of the application should be made after completely reading the document of requirement and completing the analysis.
  • Step 5: After the enlisting of all them, for verifying the requirement and its Test Scenario are matching a Traceability Matrix should be created.
  • Step 6: All the created Test Scenarios are reviewed and evaluated by the supervisor. It is also further verified by all the stakeholders.

As per the project procedure, every Test Scenario must be matched to at least one user story or requirement. It is mandatory to verify every Test Scenario against its requirement separately, before multiple requirements in a single Test Scenario. Complex Test Scenarios with multiple requirements can be avoided for simplicity. Price is directly proportional to the number of them So, it is always advisable to run only selected and required according to customer priority.

Examples

Below are some examples:

Test Scenario for Buykart online shopping application

Test Scenarios which can be taken into consideration for the verification of an online shopping application Buykart is as follows:

Popular Course in this category
Software Testing Training (9 Courses, 2 Projects)9 Online Courses | 2 Hands-on Projects | 60+ Hours | Verifiable Certificate of Completion | Lifetime Access
4.5 (4,957 ratings)
Course Price

View Course

Related Courses
Penetration Testing Training Program (2 Courses)TestNG Training (4 Courses, 2 Project)

Test Scenario 1: Login functionality checking

Login functionality checking

The test cases that can be considered for the creation are:

  • Behavior of the application when entering a valid login id and a valid password can be checked.
  • Behavior of application when entering a valid login id and an invalid password can be checked.
  • Behavior of application when entering a invalid login id and a valid password can be checked.
  • Behavior of application when entering a invalid login id and an invalid password can be checked.
  • Behavior of application when signing in by entering login id alone without a password can be checked.
  • Behavior of application when signing in by entering password alone without login id can be checked.
  • Behavior of application when signing in without entering both login id and password can be checked.
  • Behavior of application when forgot password is selected.

Test Scenario 2: Search functionality checking

what is test scenario 2 PNG

The test cases that can be considered for the creation are:

  • Behavior of the application when a valid product is searched.
  • Behavior of the application when an invalid product is searched.

Test Scenario 3: Product details checking

what is test scenario 3 PNG

The test cases that can be considered for the creation are:

  • Behavior of the application when a product is selected.
  • Behavior of the application a product is wish-listed.
  • Behavior of the application when a product is added to cart.
  • Behavior of the application when the Buy Now option is selected.
  • Behavior of the application when an invalid address is entered.
  • Behavior of the application when a valid address is entered.
  • Behavior of the application when multiple payment options are checked.

Test Scenario 4: Payment functionality checking

what is test scenario 4 PNG

The test cases that can be considered for the creation are:

  • Behavior of the application when each payment option is selected.
  • Behavior of the application when a valid payment option is chosen.
  • Behavior of the application when an invalid payment option is chosen.
  • Behavior of the application when a payment is successful.
  • Behavior of the application when a payment is declined.

Test Scenario 5: Order details functionality checking

functionality checking

The test cases that can be considered for the creation are:

  • Behavior of the application when each order is selected.
  • Behavior of the application when the Return product option is selected.
  • Behavior of the application when track product option is selected.
  • Behavior of the application when the Review product option is selected.

Conclusion

It act as a proper guide to the testers and helps them to make testing more effective and efficient. It helps in reducing testing complexity and redundancy. Each test case is written in detail for better understanding. It is highly time-saving for testers.

Recommended Articles

This has been a guide to What is Test Scenario. Here we discuss how to create Test Scenarios with different examples. You may also have a look at the following articles to learn more –

  1. Job Insecurity Stress
  2. What is Agile Testing?
  3. How to Write Test Case?
  4. Test Coverage Tools

Software Testing Training (9 Courses, 2 Projects)

9 Online Courses

2 Hands-on Projects

60+ Hours

Verifiable Certificate of Completion

Lifetime Access

Learn More

1 Shares
Share
Tweet
Share
Primary Sidebar
Software Testing Tutorial
  • Advance
    • Cyclomatic Complexity
    • Decision Table Testing
    • Decision Tree Algorithm
    • What is Continuous Integration
    • Mantis Bug Tracker
    • Equivalence Partitioning
    • Gantt Chart Software
    • Install TestNG
    • Install Unity
    • Defect Management Process
    • Test Plan Template
    • Testing Interview Questions
    • Testing of Mobile application
    • What is Test Automation Frameworks
    • Application of Automation
    • Test Automation Process
    • What is Cucumber?
    • 15 Best Popular Bug Reporting Tools
    • What is Automated Testing?
    • Software Maintenance Types
    • Types of Penetration Testing
    • Software Reliability
    • Best Gantt Chart Software
    • Code Coverage
    • Branch Coverage
    • Decision Coverage
    • Statement Coverage
    • What is Test Case
    • Types of Test Case
    • What is Test Scenario
    • Formal Review
    • Alpha Beta Pruning
    • What is Cyclomatic Complexity?
    • Test Coverage
    • How to Write Test Case
    • Testing Documentation
    • Performance Testing Life Cycle
    • What is Xpath
    • Test Harness
    • Test Strategy
    • Software Incident Management
    • What is Debugging
    • What is Defect?
    • Listeners in TestNG
  • Basics
    • What is Software Testing
    • Careers in Software Testing
    • Defect Life Cycle in Software Testing
    • Levels of Software Testing
    • Software Testing Life Cycle
    • Software Tester Work
    • Software Testing Principles
    • Testing Methodologies
    • Grey Box Testing
    • Types of Software Testing
    • What is a Bug in Software Testing
    • Benefits of Automation Testing
    • What is Automation Testing?
    • Types of Automation
    • Automation Testing Process
    • Mobile Automation Testing
    • Automation Testing Life Cycle
    • Software Quality Assurance
    • Software Quality Assurance
    • What is Test Environment?
    • Verification and Validation Testing
  • Types of Testing
    • Adhoc Testing
    • Agile Testing
    • What is Agile Testing
    • Alpha and Beta Testing
    • Application Testing
    • Automation Testing
    • Benchmark Testing
    • Black Box Testing
    • Domain Testing
    • Dynamic Testing
    • Ecommerce Testing
    • Fuzz Testing
    • Gray Box Testing
    • GUI Testing
    • Installation Testing
    • Interface Testing
    • Interoperability Testing
    • Mainframe Testing
    • Manual Testing
    • Mutation Testing
    • Monkey Testing
    • Negative Testing
    • Penetration Testing
    • Protocol Testing
    • Recovery Testing
    • Regression Testing
    • Accessibility Testing
    • Sanity Testing
    • Scalability Testing
    • Security Testing
    • Spike Testing
    • Stability Testing
    • State Transition Testing
    • Static Testing
    • Gatling Load Testing
    • System Integration Testing
    • Structural Testing
    • Locust Load Testing
    • System Testing
    • Control Flow Testing
    • Unit Testing
    • Volume Testing
    • Web Testing Application
    • What is Exploratory Testing
    • What is Stress Testing
    • What is Usability Testing
    • White Box Testing
    • Types of White Box Testing
    • Compatibility Testing 
    • Use Case Testing
    • Beta Testing
    • Integration Testing
    • Non Functional Testing
    • What is Functional Testing
    • Cookie Testing
    • Alpha Testing
    • Boundary Value Testing
    • Equivalence Class Testing
    • Glass Box Testing
    • SOA Testing
    • Smoke Testing
    • Visual Testing
    • Visual Paradigm
    • Model-Based Testing
  • Testing techniques
    • Software Testing Methodologies
    • Black Box Testing Techniques
    • Static Testing Techniques
    • Test Case Design Techniques
    • What is Static Analysis
  • Testing tools
    • Automation Testing Tools
    • Functional Testing Tools
    • GUI Testing Tools
    • Penetration Testing Tools
    • Performance Testing Tools
    • SOA Testing Tools
    • Accessibility Testing Tools
    • What is QTP
    • Regression Testing Tools
    • Security Testing Tools
    • Test Management Tools
    • Code Coverage Tools
    • Test Coverage Tools
    • Defect Tracking Tools
    • Continuous Integration Tools
    • Install Bugzilla
    • Test data generation tool
    • Unit Testing Tools
    • Web Testing Tools
    • Stress Testing Tools
    • Performance Monitoring Tools
    • Mobile Testing Tools
    • Responsive Testing Tool
    • Cross Browser Testing Tools
    • Risk Based Testing
    • Database Testing Tools
    • WinRunner
    • What is Squish?
    • CubicTest
    • What is WinRM?
    • Bugzilla Tool
    • Code review tools
    • Penetration Testing Open Source Tools
  • Inteview Questions
    • Automation Testing Interview Questions
    • Manual Testing Interview Questions
    • ISTQB Interview Questions
    • Cucumber Interview Questions
    • Software Testing Interview Questions
    • Penetration Testing Interview Questions

Related Courses

Software Testing Course

Penetration Training Course

TestNG Training Course

Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Java Tutorials
  • Python Tutorials
  • All Tutorials
Certification Courses
  • All Courses
  • Software Development Course - All in One Bundle
  • Become a Python Developer
  • Java Course
  • Become a Selenium Automation Tester
  • Become an IoT Developer
  • ASP.NET Course
  • VB.NET Course
  • PHP Course

© 2020 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA Login

Forgot Password?

EDUCBA
Free Software Development Course

Web development, programming languages, Software testing & others

*Please provide your correct email id. Login details for this Free course will be emailed to you
Book Your One Instructor : One Learner Free Class

Let’s Get Started

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA
Free Software Development Course

Web development, programming languages, Software testing & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

Special Offer - Software Testing Training (9 Courses, 2 Projects) Learn More