time oriented tests

Ask general questions here.
mander95
Posts: 66
Joined: Tue Jun 21, 2016 7:35 pm

time oriented tests

Post by mander95 » Tue Sep 20, 2016 6:20 pm

Every morning, there is a new build to our software that is made and placed in a specified folder. Typically around 2 or 3 in the morning. Is there a way to set ranorex to run a test on the software at a specified time (4 am for example) without me being in the office?

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

Re: time oriented tests

Post by odklizec » Tue Sep 20, 2016 8:02 pm

Hi,

Probably the easiest way to achieve what you want is using Windows scheduler. A much more sophisticated, configurable and reliable option is some kind of continuous integration system, e.g. Jenkins. In both cases, you will have to use your test from command line. Please follow the appropriate chapter in Ranorex user guide.
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

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

Re: time oriented tests

Post by krstcs » Wed Sep 21, 2016 2:18 pm

Yeah, Jenkins is the best way to do it. I use it to run my primary nightly regression tests at 3am every day. But I can also use it to run unscheduled tests during the work day in case we have a need. I can also hook it to the developer's TeamCity project and have TC request a run whenever they deploy to our test environment.

But, you can use Task Scheduler as well, if you don't want to setup Jenkins, or if you want to get something running while you get Jenkins set up.

Note: Jenkins is free, but you can do the same thing with TeamCity, Bamboo, or most other Continuous Integration systems.
Shortcuts usually aren't...

mander95
Posts: 66
Joined: Tue Jun 21, 2016 7:35 pm

Re: time oriented tests

Post by mander95 » Thu Oct 27, 2016 5:52 pm

is there a tutorial on integrating ranorex with Jenkins?

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

Re: time oriented tests

Post by krstcs » Thu Oct 27, 2016 7:16 pm

I would suggest reading the User Guide (completely, if you haven't) here: http://www.ranorex.com/support/user-gui ... ation.html

If you still have questions about it that, ask away.
Shortcuts usually aren't...

User avatar
N612
Posts: 62
Joined: Mon Jul 11, 2016 4:01 pm

Re: time oriented tests

Post by N612 » Thu Oct 27, 2016 9:29 pm

mander95 wrote:is there a tutorial on integrating ranorex with Jenkins?
http://www.ranorex.com/blog/integrating ... n-process/