Start remote job execution as part of a test suite?

Ask general questions here.
mrt
Posts: 257
Joined: Mon Mar 16, 2020 11:31 am

Start remote job execution as part of a test suite?

Post by mrt » Mon May 10, 2021 10:45 am

Dear folks,

is it possible to start remote execution as part of a test suite?

E.g. some tests run on the local machine, and when they finish, depending on their result,
then a remote job is triggered to execute the next test on a remote agent machine, preferably passing a data source, which is filled by results from local execution?

thank you!

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

Re: Start remote job execution as part of a test suite?

Post by odklizec » Mon May 10, 2021 10:59 am

Hi,

Generally speaking, it's possible to run remote job via command line, as described here:
https://www.ranorex.com/help/latest/ran ... ndlinespan
So what you need to do is to implement command line execution directly into your project. Unfortunately, as for this:
" passing a data source, which is filled by results from local execution?"
I don't think this would be an easy task. You may need to create a data source, fill it with results and then, somehow, load it to remote test via code ;)
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

mrt
Posts: 257
Joined: Mon Mar 16, 2020 11:31 am

Re: Start remote job execution as part of a test suite?

Post by mrt » Mon May 10, 2021 11:02 am

Alright, sounds like a plan, I will try to figure it out, thanks!

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

Re: Start remote job execution as part of a test suite?

Post by odklizec » Mon May 10, 2021 11:38 am

Maybe the easiest workflow how to share data between tests, would be to use the same "empty" data connector in both projects? Then simply fill it in first one and the second one should automatically load it? Of course, the location of data file must be the same for both projects.
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