简体   繁体   中英

Automatically execute Selenium TestNG script using java

Im working on an application where client sends me the selenium files and i have to execute those files in Selenium webdriver. I dont want to use Selenium RC. I did a small research and all i could found is recommendation to use Selenium RC. Please help. A link or code will be helpful.

TestNG by itself provides such functionality - execution model. You use TestNG with Silk4J to create sequenced regression tests (assuming this is waht is required from you). All of the tests execution can be in a specific order - and some tests trigger a 'skip all remaining tests' when a super-critical error occurs.

I'm sure that you'll find these TestNG resources helpful:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM