Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am working on a Selenium application. As per our requirement it must run every 5 minutes. How can I achieve this?

share|improve this question

There is nothing builtin to Selenium for running a test every five minutes. However, there are many Java scheduling packages available, e.g. Quartz. If you can tell us what research you have done already, we may be able to provide more specific advice.

share|improve this answer

My suggestions and approach based on the current info provided by you would be:

Please flesh out the question. If you are interested in a more specific/zeroed in solution, give us the environment, selenium version and other aspects you think would help us help you.

Else help yourself on this link, which has some useful piece of info.

share|improve this answer

You don't say which platform you are running on, but if you are running on Linux or Mac OS X, then you could use cron.

The combination of Selenium and crontab has been asked about, and answered, on SE Stack Overflow a number of times already. Check out:

  1. Execute Python (selenium )script in crontab;
  2. Run selenium with crontab (python), and;
  3. Cron job to run Selenium 2 test Suite.
share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.