AndreiBanu1 / Amazon_Testing_Framework

0 stars 0 forks source link

Create test cases for Product Details Module #6

Closed AndreiBanu1 closed 1 year ago

AndreiBanu1 commented 1 year ago

Product Details Module: Test the product details page, ensuring that all the necessary information about the product is displayed correctly. Check the product title, description, price, availability, customer reviews, and related products.

AndreiBanu1 commented 1 year ago
  1. Test verifying the product title:

    • Preconditions: User is on the product details page.
    • Steps:
      1. Verify that the product title is displayed correctly on the page.
    • Expected Results: The product title should be displayed correctly on the product details page.
  2. Test verifying the product description:

    • Preconditions: User is on the product details page.
    • Steps:
      1. Verify that the product description is displayed correctly on the page.
    • Expected Results: The product description should be displayed correctly on the product details page.
  3. Test verifying the product price:

    • Preconditions: User is on the product details page.
    • Steps:
      1. Verify that the product price is displayed correctly on the page.
    • Expected Results: The product price should be displayed correctly on the product details page.
  4. Test verifying the product availability:

    • Preconditions: User is on the product details page.
    • Steps:
      1. Verify that the product availability information is displayed correctly on the page.
    • Expected Results: The product availability information should be displayed correctly on the product details page.
  5. Test verifying the customer reviews:

    • Preconditions: User is on the product details page.
    • Steps:
      1. Verify that the customer reviews section is displayed on the page.
      2. Check the rating and number of reviews for the product.
    • Expected Results: The customer reviews section should be displayed, and the rating and number of reviews should be accurate.
  6. Test verifying related products:

    • Preconditions: User is on the product details page.
    • Steps:
      1. Verify that the related products section is displayed on the page.
      2. Check the related products and verify that they are relevant to the current product.
    • Expected Results: The related products section should be displayed, and the related products should be relevant to the current product.
  7. Test adding the product to the cart from the product details page:

    • Preconditions: User is on the product details page.
    • Steps:
      1. Click on the "Add to Cart" button.
      2. Verify that the product is added to the cart successfully.
    • Expected Results: The product should be added to the cart successfully from the product details page.
AndreiBanu1 commented 1 year ago
  1. Test the product details image: Preconditions: User is on the product details page. Steps: Verify that the product has a valid image. Expected Results: The product should have a valid image.