Remote Test Execution via CommandLine
Since Ranorex 6.0 it's possible to do Remote Tests with Ranorex Agents. Starting of such tests is only possible with Ranorex Studio. It would be great to start these tests via CommandLine.
I am happy to inform you, that Ranorex Studio 8.3. Beta1 was released today which does contain this idea. After you have installed Ranorex Studio 8.3 Beta1, please open the Ranorex Studio start page to see how the features are working (View → Show start page).
You can download Ranorex Studio and the new Ranorex Agent here: https://download.ranorex.com/s/4Cic7LYN7eBT4Te
It will be part of the next official Ranorex Studio release.
The Ranorex Product Management
I tested the new command and it works very well.
However, when I used it in my Jenkins job from Master machine where there is no Ranorex studio, it didn't work. It is possible to add as an option the IP address of the agent or there is another alternative to launch agents from Jenkins master ?
Yann Kottelat commented
It's a very important feature for us.
AdminRanorex (Admin, Ranorex) commented
The release date depends on the feature scope and its quality approval. At the moment I can't tell you an exact date. But most likely it will be around end of Q2/start of Q3.
When exactly is the plan to release this version? or should I switch to Coded UI Tests?
Please support this for Cloud and CLI based CI solutions like AppVeyor!
Also supporting true floating licenses(per build)
Use Jenkins, I don't know any of the Ranorex pros that use the agent tbh.
This will be very useful, it's strange that Ranorex make posible to use variuos endpoints and its owned remote agent is not "callable"
This will be very useful !
This would be very useful!
Kevin Neumann commented
It's just an idea for all who could implement this in their network.
Before we've used Jenkins (only) for scheduled test execution, I run very well with Microsoft's SysInternals: PsExec.. Maybe you could give it a try ;-)
Klaus Krueger commented
This is a must and we can focus on automation, not fighting with IT to get more access to certain test environments!
Hey guys use jenkins + the ranorex plugin, or just fire the command line from jenkins. Jenkins is free, flexible, open source and you will fine works much better than any of the ranorex agent stuff.
Jordan Scandlyn commented
I built a batch file that opens the latest folder of tests that have been unzipped by the remote agent computer. I then set up a task schedule to open that .bat file every hour if the test isn't running. The .bat file executed the exe inside the most recent folder. Contact me directly if you need help getting this working, I think it could save you a little time deploying tests and allows for continuous testing overnight. email@example.com
I agree. We have a serious need for this functionality. We want to trigger tests remotely utilizing Ranorex Agents to fully automate our workflow. Having to utilize Ranorex Studio to trigger these tests is a serious limitation.
Darwin Steckelberg commented
Agreed--we want our tests scheduled and not triggered only on a CI system as we have multiple environments and configurations to test on. This would be a big help!
Hi, can you give us timeline on this?
We are working towards adding our desktop applications tests in CI.
I have automated tests written in ranorex that I want to run on a remote machine. Currently I can do it using the Ranorex agent but I have to do it manually and cannot schedule them.
I do have a jenkins server but I do not want to have all the installations there. I want to trigger tests from jenkins but those tests should be run on a dedicated ranorex test machine which will have the agent installed.
Is there a way I can achieve this through CLI? I know I can run ranorex tests from CLI but how do I pass in the agent name in the CLI param?
Or maybe using some API?
Launching tests on remote agents via command line is probably the only thing stopping us at the moment from purchasing Ranorex licenses. Please do consider adding it!!!
I would like to launch the agent from Jenkins but without a windows command this is not possible.
It will be very interesting if this feature is available.
This feature request should get more support. It would be a huge upgrade to Ranorex if we can finally run remote tests with agents via CLI.
I agree: Without such a command line feature the Ranorex Agent has only a low value!