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 ?
Run on remote Agent without compile
Re: Run on remote Agent without compile
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.
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 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
Re: Run on remote Agent without compile
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
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
Re: Run on remote Agent without compile
This is elmost exactly what I'm doing toodoke wrote: ↑Thu Sep 24, 2020 8:00 amHi,
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
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
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