Page 1 of 1

iOS Apps: Launching and closing the App

Posted: Tue Nov 26, 2013 10:39 am
by chethanshetty
Hi,

I am facing an issue with opening the application and closing the Application.
I have written a code(ranorex code) which launches the App from the Home screen of the device and after few seconds the Application itself will be closed even though i have not written any code to close the App.

Here is my code which opens the application:
Host.Local.RunMobileApp("Device name", "App BundleID");

Will this work for the latest version of Ranorex?
Is it the problem with the Application library file or with Ranorex?

Closing the application never worked for me for iOS apps.
Any alternate way to close the App?

Re: iOS Apps: Launching and closing the App

Posted: Wed Nov 27, 2013 4:47 pm
by Support Team
Hello chethanshetty,

Which Ranorex version do you use?
We provide the functionality to start/stop apps since Ranorex 4.1.x via USB connection.
The device needs to be started in 'debug mode' using Xcode for that purpose.
Please take a look at our User Guide for more information about iOS Testing.

Regards,
Markus (T)