Scheduling Ranorex script execution - Tools ?

Ranorex Studio, Spy, Recorder, and Driver.
Posts: 8
Joined: Tue Jan 05, 2016 7:43 pm

Scheduling Ranorex script execution - Tools ?

Post by Zee357 » Tue Feb 09, 2016 1:26 pm

I am running my Ranorex .EXE automation scripts on a VM in an automated/scheduled way daily. Or trying to plan for that.

What tool (Task Scheduler ?) is best on Windows Server 2008. I've heard of Jenkins, but we're not using that for anything else such as builds. It is only to schedule and execute the Ranorex built scripts; that is all.

I might want to convert my .Rxlog files to .PDF's after the execution of the scripts completes as an additional step as part of daily job.


Fred Zimmerman
Washington D.C.

User avatar
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Scheduling Ranorex script execution - Tools ?

Post by odklizec » Tue Feb 09, 2016 4:01 pm

Hi Fred,

Jenkins is a perfect solution of your problem. If you are already using Jenkins for building, then you just have to add one additional step to run the test. There is a nice instructive blog post about integrating Ranorex with Jenkins... ... on-process
You can of course add also PDF conversion step at the end of test. Just add another step using ReportToPDF.exe tool (and some parameters) as described here... ... conversion
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

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

Re: Scheduling Ranorex script execution - Tools ?

Post by krstcs » Wed Feb 10, 2016 2:51 pm

I would agree with Pavel. Jenkins is what I use, even though my devs doen't use it anymore. It's free and pretty easy, where most other CI systems charge for every agent/slave system you connect to the server. I have 9 slaves right now, which allows for many more tests to run in the same time frame as a single test would.

As for PDF, you can use the converter, but... Did you know that the Ranorex Report is actually an HTML document named *.rxlog and an XML data document named *

If you rename them to *.html and * you can view then in a browser. And, you can host them on Jenkins as web pages, with the HTML Publisher plugin, and anyone can see them by going to the Jenkins server and checking the build results. This is what I do, and it works wonderfully. There's no need for extra steps in converting the documents, and you don't have to rely on anyone having to have a PDF reader (although they are built into most browsers now...).
Shortcuts usually aren't...