How to run tests on a schedule

Ask general questions here.
niteshr
Posts: 18
Joined: Fri Jul 11, 2014 7:41 am

How to run tests on a schedule

Post by niteshr » Fri Jul 11, 2014 7:44 am

Hi Guys,

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

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: How to run tests on a schedule

Post by krstcs » Fri Jul 11, 2014 1:35 pm

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.
Shortcuts usually aren't...

niteshr
Posts: 18
Joined: Fri Jul 11, 2014 7:41 am

Re: How to run tests on a schedule

Post by niteshr » Fri Jul 11, 2014 3:11 pm

Thank you. I will look into this option.

Shannon
Posts: 2
Joined: Fri Nov 21, 2014 7:15 pm

Re: How to run tests on a schedule

Post by Shannon » Wed Dec 10, 2014 8:38 pm

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?

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: How to run tests on a schedule

Post by Support Team » Thu Dec 11, 2014 10:26 am

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
CreateNewTask.png (24.73 KiB) Viewed 1614 times
All other settings within the task scheduler are pretty self-explanatory.

Hope this information helps.

Regards,
Robert
.
Image