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.
- SignUp
- Login
- Search
- Cart
- Checkout
- Tool: Selenium Webdriver
- IDE: Intellij IDEA
- Build tool: Gradle Build
- Language: Java
- Testing Framework : TestNG
- 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
- gradle clean test
Selenium will open the browser and start automating.
- allure generate
allure-results --clean -o allure-report
- allure serve
allure-results.