Instructions:
Based on the use case above, create functional black-box test cases to validate the system's behavior. Ensure that your test cases cover:
1. The normal flow.
2. The Alternative flows.
3. The exception scenarios.
For each test case, specify:
Test case ID:
Test case description
Preconditions.
Test steps (Test Procedure) with test data.
Expected results.
Notes: (NF, AL or Ex)
Ensure that each test case tests a unique aspect of the use case to demonstrate a comprehensive understanding of use-case-based testing.
Test Case Example:
Test Case 1: Normal Flow - Successful Order with Standard Delivery
ID: TC001
Description: Test order success
Preconditions:
The customer is logged in.
The shopping cart contains at least one food item (e.g., a pizza for $10).
Test Steps:
1. Customer adds a pizza to their cart.2. Customer selects standard delivery.
3. Customer enters delivery details (e.g., address, phone number).
4. Customer proceeds to payment and selects a credit card payment.
5. Customer enters valid credit card details (e.g., valid card number, expiry date,CVV).
6. The system processes the payment.
Expected Results:
The system processes the payment successfully.
The system confirms the order and displays the estimated delivery time.
Notes: Normal flow