This Test Automation Framework is created using Java + Selenium Web Driver + TestNG+ Maven Page Object Model(POM). Which can be used across different web based applications.It is used to make the code more readable, maintainable, and reusable.
- Java
- Maven
- Browsers (Firefox, Chrome)
git clone https:https://github.com/the-test-trove/Selenium-testNg-Maven.git
cd Selenium-testNg-Maven
mvn clean install
mvn test
- Take Screenshots On test failures Method will automatically capture & store the screenshots under /screenshots directory. The screenshot files will be named of the test method name.
- The framework produce index.html report. It resides in the same 'test-output. 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 test-output to email the test reports. As this is a html report you can open it with browser.