Can we schedule Selenium Webdriver script run, if yes, what is the procedure?

1,764 views
Skip to first unread message

automation.lifegoeasy.com

unread,
Apr 29, 2013, 3:24:07 AM4/29/13
to seleniu...@googlegroups.com

Kishore Thotapally

unread,
Apr 29, 2013, 3:25:51 AM4/29/13
to seleniu...@googlegroups.com
If we can schedule use either TestNG or Junit Frame works.... it will easy to populate the results instead of maintain customize results in selenium


On Mon, Apr 29, 2013 at 12:54 PM, automation.lifegoeasy.com <abhay...@gmail.com> wrote:

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/I_rJZkdGMicJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Krishnan Mahadevan

unread,
Apr 29, 2013, 4:12:33 AM4/29/13
to Selenium Users
Abhay,
You would essentially leverage Continuous Integration tools such as Jenkins/Hudson to carry out the scheduling for you.
If you are looking for easier ways, I would suggest that you take a look at setting up cron jobs (UNIX) or scheduling tasks via the Windows Task Scheduler wherein you would merely execute a shell script/batch file.

The batch file/shell script would essentially contain the logic to kick off your tests.



Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
Message has been deleted

David Lai

unread,
Apr 29, 2013, 12:32:47 PM4/29/13
to seleniu...@googlegroups.com
Any CI tool should do the trick.  I personally prefer bamboo since it supports automatic branching support, this allows you to check your tests in with the source code, then automatically create new CI instances running the tests on that branch any time the code gets branched.

Another way is to use a simple task scheduler.  But I think the CI tool is the better way as it'll automatically manage your artifacts and give you nice little plugins to graph the results and send friendly emails to your devs when tests start breaking.
Reply all
Reply to author
Forward
0 new messages