Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run Selenium Test Automatically Every 5 minutes

Is there a way to automate a selenium test to run every five minutes?

like image 373
user455100 Avatar asked Sep 22 '10 13:09

user455100


People also ask

How do I run Selenium continuously?

If you want your test to run continuously in Selenium IDE then use infinite while loop command provided in IDE extension plug-in like ISFW IDE extension Plug in. You can also utilize define module command provided in ISFW plugin.

How do I run a Selenium script at a specific time?

Go to control panel. Administrative tool. Task scheduler and create a task which will trigger run. bat file at the time you want.


1 Answers

If you've got your tests packed as an executable the easiest way may be to run a CRON job or a Windows scheduled task.

That said, Hudson (or another continuous integration system) are almost certainly better long term strategies.

like image 105
pnewhook Avatar answered Sep 24 '22 05:09

pnewhook