Following parameters can be set up in testng.xml file to make most use of Selenium Tests Framework. These parameters are already set in Sample Test Project -
- There are two listeners available with Selenium Tests Framework -
com.seleniumtests.reporter.SeleniumTestsReporter - controls the generation of step by step reporting
and com.seleniumtests.core.TestRetryListener - reruns the failed test
If you don't wish to use any of these features then you can remove the listeners (you don't want to do that ;-))
- appURL - Application URL against which tests is to be run
- browser - Browser on which application is to be tested, available options are *firefox, *chrome, *iexplore
- runMode - The mode in which tests are to be run either locally or on selenium grid. Corresponding configurations are - LOCAL or ExistingGrid
- webDriverGrid - The location of selenium grid, like - http://localhost:4444/wd/hub
- webSessionTimeOut - time out to be used before selenium tests framework gives up on loading a page
- captureSnapshot - Should Selenium Tests Framework capture snapshots during test
Comments
Post a Comment
No spam only genuine comments :)