I am working on a Selenium application. As per our requirement it must run every 5 minutes. How can I achieve this?
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
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.
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.
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
The combination of Selenium and crontab has been asked about, and answered, on SE Stack Overflow a number of times already. Check out: