1
votes

I am using Selenium IDE 3.17.0 in chrome for recording scripts.

Is there any way to schedule the scripts through Selenium IDE like run the scripts/tests every 1 hr.

i can obviously export the scripts/tests to some programming languages and run a scheduler quartz to schedule it but was looking if there is anything native built in Selenium IDE.

Best Regards,

Saurav

1
Selenium IDE jobs used to be able to run from the command line (using html runner). I would set this up to run as a cron job. - DMart

1 Answers

1
votes

Unfortunately, scheduling is no longer supported in the latest version. If you do want though, you can install an older version and enable scheduling. For that, you would need to download a legacy version, see here.

Here is another good walkthrough

Steps:

Selenium IDE > Options > Schedule tests to run periodically

enter image description here

enter image description here

My suggestion would be to not run it using IDE. I'd suggest doing this:

  1. Create a WebDriver (or RC if you wish) test using your preferred language.

  2. If using linux, just use crontab to set up a 15 minute cronjob. If using windows, use task scheduler to run your test.