Empty template for Test Automation project with Selenium
-
Download template and unpack in appropriate folder
-
Open project in IDE (for example IntelliJIdea)
-
Reporting: Allure is enabled, after running tests just run allure:serve in maven plugins (allure should be installed locally)
-
Parameters that can be changed: configure the headless mode, base URL and browser type (chrome/safari/ie/firefox/edg) by updating the properties in the pom.xml file.
-
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 testng folder
-
pages generated by JDN should be places in src/main/java/pages package
-
Each page object class must be inherited from BasePage, including one of the mandatory paremeters is PATH describing the URI of the page e.g. in http://example.com/login PATH = "/login".