"# Ecommerce_Selenium_Automation" Implementing Web Automation Testing using Selenium + JUnit + TestNG
I have automated scenarios : Add To Cart, Checkout, each with validations on the site : https://rahulshettyacademy.com/seleniumPractise/#/
Guide: Ensure that :
- You have maven installed in your machine and path configured.
- Java Installed
- Installed TestNG
Steps
- Clone the project.
- On the pom.xml file set the tools jar path as per your machines location of the tools.jar file. On latest JDK versions, you can find it on the JDK lib's folder.
- Update maven dependencies to ensure all the required jar files on the pom.xml file have been downloaded.
- Run the project either via cmd through "mvn clean test" or by Running the testRunner class.
- To view reports go to your projects folder/target/TestOutput
Sample Report :