Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aladnansami/amazon-website-automation-using-testng-with-allurereport

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.
https://github.com/aladnansami/amazon-website-automation-using-testng-with-allurereport

allure allure-report automation automation-test junit5 selenium selenium-webdriver test-automation testing-tools testng website-automation

Last synced: 7 days ago
JSON representation

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.

Awesome Lists containing this project

README

        

# 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.
````