How are the selenium based tests/scripts executed for a enterprise/project/application?
Selenium tests/scripts of any enterprise/project/application are executed with the help of the components used to develop the Test Framework. There are numerous Tools and Frameworks available which can be integrated to execute the Selenium related test. A few of them are as follows:
- Tests can be executed as a standalone Java program or through TestNG. You can find a relevant discussion in How to write Selenium Java Application code in IDE through main() and TestNG
- You can also integrate Maven to execute the Tests. You can find a relevant discussion in How to start FireFoxDriver using Selenium 3.4.0 using Maven?
- You can also integrate Jenkins to execute the Tests. You can find a relevant discussion in Need correct step for Bat file creation using (TestNG.xml + Maven)
- You can also integrate Cucumber to execute the Tests. You can find a relevant discussion in Cucumber test not running