Start instrumented iOS app

Mobile Testing, Android App Testing.
Posts: 3
Joined: Thu Oct 13, 2016 4:48 pm
Location: Switzerland

Start instrumented iOS app

Post by StephenMulryan » Mon Dec 19, 2016 6:13 pm

I can restart iOS app when it is running and deploy (update) over an existing iOS app but I cannot seem to start an instrumented app when it is not running to begin with.

I am trying the following method but I get a timeout exception after 30 seconds:
Host.Local.RunMobileApp(iOsTabletDeviceName, iOSAppId, true);

I got the iOSAppId using Ranorex spy so that is right. I used the name which appears in Ranorex for iOsTabletDeviceName.

Also should this method work when the tablet is in guided access mode?


User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA

Re: Start instrumented iOS app

Post by Support Team » Wed Dec 21, 2016 3:37 pm

Hi Stephen,

To use the start/stop functionality via USB or WiFi, please ensure that the Ranorex Service Application is running and active on the device. If the Ranorex Service Application is running in background, the application under test cannot be started.

Hope that information helps.

Markus (S)