Exam #1: eCommerce Domain - Checkout Flow
Prompt:
Generate test cases for an eCommerce checkout flow based on the following product specification: The user should be able to add items to their cart, apply a discount code, select a shipping method, and complete payment using a credit card or PayPal. The system should validate the payment and display an order confirmation page. Consider positive, negative, boundary, and security test cases.
Example Output:
• Verify that a user can add items to the cart successfully.
• Verify that a discount code is applied correctly and reflects the right amount.
• Verify that users can choose different shipping methods (Standard, Express).
• Verify that payment completes successfully using a valid credit card.
• Verify that an invalid credit card number is rejected.
• Verify that the order confirmation page displays correct details.
• Verify that the session times out after a period of inactivity.
• Verify SQL injection protection in the discount code input field.
Last updated