Skip to content

Amazon.com, Inc. is an American multinational technology company which focuses on e-commerce. Amazon shopping website is automated by implementing test cases for visiting the app, searching for a product, adding to cart and proceeding to checkout using an authenticated user.

Notifications You must be signed in to change notification settings

aladnansami/Amazon-Website-Automation-Using-TestNG-With-AllureReport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Amazon-Website-Automation-Using-TestNG-With-AllureReport

Amazon shopping website is automated by implementing test cases for visiting the app, searching for a product, adding to cart and proceeding to checkout using an authenticated user.

Website

https://www.amazon.com/

The following key modules/pages are automated:

  • SignUp
  • Login
  • Search
  • Cart
  • Checkout

Technology:

  • Tool: Selenium Webdriver
  • IDE: Intellij IDEA
  • Build tool: Gradle Build
  • Language: Java
  • Testing Framework : TestNG

Prerequisite:

  • Need to install jdk 11, gradle and allure
  • Configure Environment variable for jdk 11, gradle and allure
  • Clone this project and unzip it
  • Open the project folder
  • Double click on "build.gradle" and open it through IntellIJ IDEA
  • Let the project build successfully
  • Click on "Terminal" and run the automation scripts

Run the Automation Script by the following command:

  • gradle clean test
    Selenium will open the browser and start automating.

After automation to view allure report , give the following commands:

  • allure generate
allure-results --clean -o allure-report
  • allure serve
allure-results.

About

Amazon.com, Inc. is an American multinational technology company which focuses on e-commerce. Amazon shopping website is automated by implementing test cases for visiting the app, searching for a product, adding to cart and proceeding to checkout using an authenticated user.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published