Test Scenario: A higher-level description of something to test, usually one user goal or feature, which contains several detailed test cases.
Example
The test scenario "Verify that a user can reset their password" includes test cases for a registered email, an unregistered email, an expired reset link, and a new password that doesn't meet the rules.
Test Scenario vs Test Case
| Test scenario | Test case | |
|---|---|---|
| Level | High-level: what to test | Detailed: how to test it |
| Example | Verify checkout with a coupon | Apply an expired coupon; expect an error message |
| Count | Fewer | Several per scenario |
Writing Scenarios from Requirements
- Read the requirement or user story.
- List each user goal and important rule as a scenario.
- Add scenarios for errors, limits, and unusual paths.
- Break each scenario into test cases.
Scenarios are useful for quick reviews with developers and product owners, because they show coverage without long detail.
In Interviews
"Write test scenarios for a login page" or "for an ATM" are common testing interview questions. Start with the main scenarios, then add negative and edge cases, and explain your thinking out loud.
Related terms
- Test Case: the detailed checks inside a scenario.
- Test Plan: organises scenarios for a release.
- User Story: a common source of scenarios.
- Functional Testing: scenarios drive functional testing.
Previous term: Test Plan | Next term: Testing (in Data & AI)
Related guides
- Software Development vs Testing
- Technical Interview Questions for Freshers
- IT Internship Interview Guide
Frequently asked questions
What is a test scenario?
A test scenario is a high-level description of what to test, such as one user goal, which contains several test cases.
What is the difference between a test scenario and a test case?
A scenario says what to test. Test cases say exactly how, with steps, data, and expected results.
How many test cases are in a scenario?
It varies, often from three to ten, covering normal, error, and edge cases.
What are test scenarios for a login page?
Valid login, invalid password, unregistered user, empty fields, locked account, forgot password, and session timeout.
Explore more internship terms
The IT Internship Glossary explains 199 terms you will hear before and during your internship, with simple definitions and real examples.
Browse all 199 terms