This is a complete End-To project where an E-commerce site is automated by writing test suites using selenium-webdriver and TestNg as testing framework.
The following modules are testing automated:
- Registration /Login
- Search
- Cart
- Checkout
- Blog
Tool: Selenium Webdriver
IDE: Intellij IDEA
Build tool: Maven
Language: Java
Testing Framework: TestNG
- Need to install jdk 18, Maven
- Configure Environment variable for jdk 18, Maven
- Clone this project and unzip it
- Open the project folder
- Double click on "build.maven" and open it through IntellIJ IDEA
- Let the project build successfully
- Click on "Terminal" and run the automation scripts
mvn clean test
- Selenium will open the browser and start automating.