Page 1 of 1

Run test setup locally then run rest of the test remotely

Posted: Wed Jun 06, 2018 3:17 pm
by CWhiting
I have the need to run tests on a remote VM. The Ranorex agent can run the tests remotely. I need to do some initialization of the database locally before running remotely. How do I as part of a smart folder run tests locally then remotely then finally locally to do the cleanup?

My tests are coded in C#. I could use the API but it is unclear how to execute tests remotely via the agent and the API.

Re: Run test setup locally then run rest of the test remotely

Posted: Thu Jun 07, 2018 9:25 am
by RobinHood42
Hi CWhiting,
How do I as part of a smart folder run tests locally then remotely then finally locally to do the cleanup?
I'm afraid that this scenario can't be tested. You would at least need two or even three separate tests. The initial test or automation to setup your DB, the 2nd one, which runs remotely on your agent and the final test again on your local machine. Also, there is definitely no way to synchronize those tests just using Ranorex.

Cheers,
Robin :mrgreen: