Hi
I have several Jenkins slaves, each with a different Number of devices connected to them via "Ranorex Devices"(both iOS and android).
I would like to write code that can run on any device (example openApp) and it should work by first identifying the connected devices dynamically, and then work on each device on the list.
Is there a method in the Ranorex API to return the list of connected devices? (I could not find one)
thanks
Ziv
Ranorex Method for Connected Devices
-
- Posts: 65
- Joined: Wed Sep 24, 2014 7:47 am
- Location: Israel
Re: Ranorex Method for Connected Devices
Hey zivshapirawork,
To receive a list of all enabled devices, simply insert the following line in a usercode method.
Regards,
asdf
To receive a list of all enabled devices, simply insert the following line in a usercode method.
var DeviceList = RemoteServiceLocator.Service.AllKnownEndpoints;I hope i could help you.
Regards,
asdf
-
- Posts: 65
- Joined: Wed Sep 24, 2014 7:47 am
- Location: Israel
Re: Ranorex Method for Connected Devices
Thanks asdf
that is correct.
