Skip to content

jdi-templates/jdn-template-selenium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Selenium Testng empty template

Empty template for Test Automation project with Selenium

Instruction:

  1. Download template and unpack in appropriate folder

  2. Open project in IDE (for example IntelliJIdea)

  3. Reporting: Allure is enabled, after running tests just run allure:serve in maven plugins (allure should be installed locally)

  4. 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.

  5. 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

  6. pages generated by JDN should be places in src/main/java/pages package

  7. 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".

About

Template project for JDN with Selenium

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages