RE: How can we run the regression suite built in Selenium WebDriver in batch mode?

I want to build my regression suite in selenium webdriver and run it as overnight batch cycle.How can I do that?

Galileo Default Asked on October 25, 2014 in Selenium WebDriver.
Add Comment
4 Answers

Hi Galileo,

I have not done this before with Selenium but a long time back done it for QTP scripts. I can just give you the over all idea of it.

1) Create a batch file, may be testng xml or some runner class and include all of your test cases in it.
2)Create an exe file, which will trigger you batch file to run. (Google it, you may find the vb code for it)
3) With the help of Windows scheduler, you can set a time to execute that exe file. You can find the scheduler settings from
Windows >>All Programs >> Accessories >> System Tools >> Task Scheduler

Best Regards,
Lakshay Sharma

Professor Answered on October 25, 2014.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.