How to schedule runs?

Ask general questions here.
bowang616
Posts: 10
Joined: Tue May 22, 2018 10:12 pm

How to schedule runs?

Post by bowang616 » Tue Jan 29, 2019 7:27 pm

Hello,

I would like to know if it is possible to schedule and automatically execute Ranorex runs.

Scenario: Our website gets built and deployed at mid-night, and we would like to run the Ranorex solution automatically at 2 am from Monday to Friday. So when we get into work in the morning, the Ranorex run is finished and the report will tell us what passed/failed for that build.

If there is no feature within Ranorex that can automatically schedule runs, my second question would be can Ranorex solution be executed through command-line? If yes, we could just write a powershell script that runs it.

Any input is greatly appreciated.

Vega
Posts: 222
Joined: Tue Jan 17, 2023 7:50 pm

Re: How to schedule runs?

Post by Vega » Tue Jan 29, 2019 7:35 pm

You will likely want to use a CI tool like Jenkins, TeamCity, etc.
You can chose how your tests are triggered with common options being daily(time), on source control repository commit, new build, etc.

This should be helpful:
hope this helps

bowang616
Posts: 10
Joined: Tue May 22, 2018 10:12 pm

Re: How to schedule runs?

Post by bowang616 » Tue Jan 29, 2019 9:34 pm

Yes that helps a lot, thank you.

I also found this to be useful: https://www.ranorex.com/help/latest/ran ... ex-studio/

Now I just need to write a script with our CI tool to schedule the run through command-line.

Thanks again.