iOS Apps: Launching and closing the App

Class library usage, coding and language questions.
chethanshetty
Posts: 4
Joined: Mon Nov 04, 2013 10:42 am

iOS Apps: Launching and closing the App

Post by chethanshetty » Tue Nov 26, 2013 10:39 am

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?

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

Re: iOS Apps: Launching and closing the App

Post by Support Team » Wed Nov 27, 2013 4:47 pm

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)