Page 1 of 1

How to run tests on a schedule

Posted: Fri Jul 11, 2014 7:44 am
by niteshr
Hi Guys,

Please let me know what is the most efficient way of achieving this. I need to report back to my team asap.

Re: How to run tests on a schedule

Posted: Fri Jul 11, 2014 1:35 pm
by krstcs
You can you Windows task scheduler if you just need a quick and dirty way to do it.


However, my preference and recommendation is Jenkins. It is free, and easy to setup. It runs on Java, so you can host it anywhere Java runs. It has several ways of making specific jobs run on a schedule.

For instance, I have my test BUILD jobs run whenever a git repository is updated. I have one set of my regression tests run at 6pm local time every night, and another run at 8pm every night.

You can setup slave systems that actually run the tests and have several test running at once.

There are all sorts of plugins that allow you to do several things with Jenkins that are very helpful. Publish the HTML Ranorex report, rerun failed tests X times, read the report and do analysis on it that is posted to Jenkins' web server, etc.

Re: How to run tests on a schedule

Posted: Fri Jul 11, 2014 3:11 pm
by niteshr
Thank you. I will look into this option.

Re: How to run tests on a schedule

Posted: Wed Dec 10, 2014 8:38 pm
by Shannon
I am new to task scheduler and ranorex. Do you have detailed steps on how to set this task up to open and run my ranorex tests?

Re: How to run tests on a schedule

Posted: Thu Dec 11, 2014 10:26 am
by Support Team
Hello Shannon,

Information on how to use the task scheduler can be found here:
http://windows.microsoft.com/en-us/wind ... =windows-7

Within the task scheduler create a new action and navigate to your executable test file.
CreateNewTask.png
All other settings within the task scheduler are pretty self-explanatory.

Hope this information helps.

Regards,
Robert