Test Case:-
Definition
A test case is a detailed step-by-step process to test a scenario.
👉 It tells “How to test?”
Example (Login Test Case):
- Open login page
- Enter valid username
- Enter valid password
- Click Login
- Expected Result: User should see dashboard
Test Scenarios:-
Definition
A test scenario is a high-level idea of what to test in the application.
👉 It tells “What to test?”
Example:
- Verify Login Functionality
- Check Add to Cart Feature
Difference Between Test Scenario & Test Case
Test Scenario Test Case
- High-level Detailed
- Covers feature Covers specific steps
- Less detailed Very detailed
- One scenario can have many test cases Based on one scenario
Simple Line Difference
Test Scenario = What to test
Test Case = How to test
Comments
Post a Comment