Remote execution with command line parameters

Ranorex Studio, Spy, Recorder, and Driver.
boegvald
Posts: 62
Joined: Wed Mar 13, 2019 9:02 am

Remote execution with command line parameters

Post by boegvald » Tue Aug 25, 2020 10:17 am

It seems like Ranorex doesn't use any of the command line arguments defined in the "Project options" "Debug" tab in Studio when executing tests remotely. At least, that's what I experience when trying to assign a value to a variable using command line arguments.

Isn't that a bug? Or is there a natural reason for it?
Has anyone somehow been able to overcome that limitation?

Best Regards

Bo
Best Regards

Bo

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

Re: Remote execution with command line parameters

Post by odklizec » Tue Aug 25, 2020 10:24 am

Hi,

I'm not using Ranorex remote execution, but I know that Debug >> command line arguments definitely works, if the test is running locally. Are you sure the test was in "debug" mode, while running remotely?
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

Krunch
Posts: 6
Joined: Tue May 24, 2022 5:17 pm

Re: Remote execution with command line parameters

Post by Krunch » Mon Feb 13, 2023 5:28 pm

I am in the same boat as boegvald. I am running Studio 10.5.0 and I have the command line argument set in the debug properties. When I execute the tests locally, the global parameters get set correctly, but when I execute the tests on a remote system using the agent, the command line arguments set in debug DO NOT get passed along. The command that gets executed is "REMOTEVM.exe" /zr /ts:"REMOTEVM.rxtst" /rc:"TestRun"

There should be a way to modify the agent command line parameters.