Run on remote Agent without compile

Ranorex Studio, Spy, Recorder, and Driver.
l.ruggeri
Posts: 4
Joined: Tue Jun 18, 2019 9:58 am

Run on remote Agent without compile

Post by l.ruggeri » Thu Sep 24, 2020 6:45 am

Hello,
we are using Ranorex Studio to run our test suites on remote agent .
My Question is
There is a way to run a test case on agent without compile the code each time and take the last available compiled code ?

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

Re: Run on remote Agent without compile

Post by odklizec » Thu Sep 24, 2020 6:59 am

Hi,

As far as I know, this is not possible via agent. Ranorex agents always compile the projects before uploading them to target machine. What you need is a proper continuous integration solution, like Jenkins or Bamboo, with which you can run the tests without compiling them each time. I mean, the tests, of course, must be compiled first ;) But then you can run them as many times you want without compiling them again and again.
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

User avatar
doke
Posts: 112
Joined: Fri Mar 29, 2019 2:33 pm

Re: Run on remote Agent without compile

Post by doke » Thu Sep 24, 2020 8:00 am

Hi,

You could just copy the build output from your dev machine, to your "dedicated" testrun machine.

We are doing this on a Jenkins machine:
- get sources from git.
- build ranorex on buildmachine (jenkins node)
- archive the build artifacts (about every thing from Bin/Release folder , with additional files like testdata files )
-extract the artifacts on a different node ( the machine that runs the tests , these can be multiple so you can run in parallel )
- execute the test by running : myRXproject.exe /runconfig:myconfig /reportfile:myreport.rxlog /reportfile:myreport.html /junit /zr /testsuite:mysuite.rxtst /pa:MyParamForTestEnvToUse=http://8.8.8.8

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

Re: Run on remote Agent without compile

Post by odklizec » Thu Sep 24, 2020 8:04 am

doke wrote:
Thu Sep 24, 2020 8:00 am
Hi,

You could just copy the build output from your dev machine, to your "dedicated" testrun machine.

We are doing this on a Jenkins machine:
- get sources from git.
- build ranorex on buildmachine (jenkins node)
- archive the build artifacts (about every thing from Bin/Release folder , with additional files like testdata files )
-extract the artifacts on a different node ( the machine that runs the tests , these can be multiple so you can run in parallel )
- execute the test by running : myRXproject.exe /runconfig:myconfig /reportfile:myreport.rxlog /reportfile:myreport.html /junit /zr /testsuite:mysuite.rxtst /pa:MyParamForTestEnvToUse=http://8.8.8.8
This is elmost exactly what I'm doing too ;)
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