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 http://pix.my/o/fkSH1s?1547398376
- IDE: run by click on "example" folder in src/test and select "Run tests" http://pix.my/o/SJtkya?1547398292
-
Logs: Observe test run results in Console log http://pix.my/o/CEtiOQ?1547398216
-
Reporting: After running tests just run allure:serve in maven plugins http://pix.my/o/5KPsyr?1547398089
-
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