A1: If the shopping cart is empty when proceeding to checkout, the system prompts the customer to add items to the cart.
A2: If the discount code is invalid, the system displays an error message and allows the
customer to proceed without applying the discount.A3: If the payment fails (e.g., due to insufficient funds or incorrect card details), the system notifies the customer and prompts them to retry payment.
Postconditions:
The customer receives an order confirmation with a summary of the items and the final
total (including discounts and taxes).
The system updates the inventory based on the items ordered.
Products: Product A: $50, Product B: $30, Product C: $20.
Valid Discount Codes: SAVE10: 10% off, WELCOME5: 5% off for new customers.Payment Methods: Credit/Debit Cards, PayPal.
Payment Failures: Insufficient funds or invalid card details.
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:
Zoom FUD
+ 100%
Close