Built from scratch Web Test Automation Framework with Java, Selenium Web Driver and TestNG. Supports cross-browser testing and provides a test report with results.
- Java jdk-1.8 or higher
- Apache Maven 3 or higher
- Google Chrome (default)
$ mvn clean test -Dbrowser=chrome
- Mozilla Firefox
$ mvn clean test -Dbrowser=firefox
- Go to project root
- Run following commands:
$ mvn clean install
$ mvn clean test
- The framework produce index.html report. It resides in the same 'target\surefire-reports' folder. This reports gives the link to all the different component of the TestNG reports like Groups & Reporter Output. On clicking these will display detailed descriptions of execution.
- You can find emailable-report.html from target\surefire-reports to email the test reports. As this is a html report you can open it with browser.