Test Automation using Java, Selenium Webdriver, TestNG, Maven
-
Set up JAVA_HOME.
-
Verify if JAVA_HOME set up correctly by running the following 2 commands –
echo %JAVA_HOME%java -version
-
Set up MAVEN_HOME.
-
Verify if MAVEN_HOME set up correctly by running the following 2 commands -
echo %MAVEN_HOME%mvn -version
-
Clone the Git repository -
https://github.com/Shreyasc27/SeleniumJavaTestAutomation.git -
Execute command -
cd reddit-ui-test -
Execute command -
mvn clean compile package install test -
Execute command -
cd target/surefire-reports -
Open following 2 Html Reports -
- emailable-report.html
- *.html