Create effective test cases and scenarios based on requirements to ensure full coverage and traceability
Translate requirements into executable steps to verify the system works as expected. While QA executes tests, BAs often define the scenarios to ensure business logic is covered.
The standard flow working perfectly.
Trying to break it / Invalid inputs.
Testing limits.
Multi-step scenarios.
Scenario: Apply Promo Code
| ID | TC-PROMO-01 |
|---|---|
| Description | Verify 'SUMMER20' gives 20% discount. |
| Preconditions | User has $100 item in cart. |
| Steps | 1. Navigate to Cart.<br>2. Enter 'SUMMER20' in promo field.<br>3. Click 'Apply'. |
| Expected Result | 1. Success message 'Code Applied'.<br>2. Discount line shows -$20.00.<br>3. Total is $80.00. |
Ensure every Test Case links back to a Requirement (FR).
TC-PROMO-01 <--> FR-CART-05 (Promo Codes).