AndreiBanu1 / Amazon_Testing_Framework

0 stars 0 forks source link

Creat test cases for Checkout Module #8

Open AndreiBanu1 opened 1 year ago

AndreiBanu1 commented 1 year ago

Checkout Module: Test the checkout process, including entering shipping and billing information, selecting payment methods, applying coupons or gift cards, and placing orders. Verify the order confirmation and payment processing.

AndreiBanu1 commented 1 year ago
  1. Test adding products to the cart and proceeding to checkout:

    • Preconditions: User has added products to the cart.
    • Steps:
      1. Go to the cart page.
      2. Click on the "Proceed to Checkout" button.
    • Expected Results: The user should be directed to the checkout page.
  2. Test entering shipping information:

    • Preconditions: User is on the checkout page.
    • Steps:
      1. Enter valid shipping information, including name, address, city, state, and zip code.
      2. Click on the "Continue" button.
    • Expected Results: The shipping information should be successfully entered, and the user should proceed to the next step.
  3. Test selecting a payment method:

    • Preconditions: User is on the checkout page.
    • Steps:
      1. Select a valid payment method, such as credit card or PayPal.
      2. Enter the necessary payment details.
      3. Click on the "Continue" button.
    • Expected Results: The payment method should be successfully selected, and the user should proceed to the next step.
  4. Test applying a coupon or gift card:

    • Preconditions: User is on the checkout page and has a valid coupon or gift card.
    • Steps:
      1. Enter the coupon or gift card code in the appropriate field.
      2. Click on the "Apply" button.
    • Expected Results: The coupon or gift card should be successfully applied, and the discount should be reflected in the order total.
  5. Test reviewing the order summary:

    • Preconditions: User is on the checkout page.
    • Steps:
      1. Review the order summary, including the products, quantities, prices, and discounts.
    • Expected Results: The order summary should display accurate information about the selected products, quantities, prices, and applied discounts.
  6. Test placing the order:

    • Preconditions: User is on the checkout page.
    • Steps:
      1. Click on the "Place Order" or "Submit Order" button.
    • Expected Results: The order should be successfully placed, and the user should be directed to the order confirmation page.
  7. Test verifying the order confirmation:

    • Preconditions: User is on the order confirmation page.
    • Steps:
      1. Verify that the order confirmation page displays the order details, including the order number and total amount.
    • Expected Results: The order confirmation page should display accurate information about the placed order, including the order number and total amount.
  8. Test verifying the payment processing:

    • Preconditions: User has placed an order and is on the order confirmation page.
    • Steps:
      1. Check the payment processing status, such as verifying that the payment is successfully processed or pending.
    • Expected Results: The payment processing status should reflect the actual payment status, indicating whether the payment was successfully processed or pending.