For run new UI test automation just download and open this project Powered by JDI Light and Selenium
-
Download template and unpack in appropriate folder
-
Open project in IDE (for example IntelliJIdea)
-
For running demo tests:
- Maven: just use "mvn clean install" command
- IDE: run by click on "example" folder in src/test and select "Run tests"
-
Logs: Observe test run results in Console log
-
Reporting: After running tests just run allure:serve in maven plugins
-
Use as template for your project:
- just remove all content from src/main/.../example folder, add your package you Page Objects
- replace tests in src/test/.../example folder with your tests
-
TestNg Retry and before after listeners: You can also modify rules of retry tests (now it is 1 retry for each test) and actions before/after all tests (now it prints test name and result) in org.mytests.tests.testng folder