Page 1 of 1

App launching twice

Posted: Thu Feb 26, 2015 2:13 pm
by Aswini
Hi,

Recently I've updated Ranorex version to 5.3 to use start and stop application feature for iOS apps. But app is launching twice always. Is this expected?
Even if we instrument the app using Ranorex studio, We are not able to see the running app in the device as Android.

Please reply and suggest the solution as we are in immediate need of it.

Thanks & regards,
Aswini

Re: App launching twice

Posted: Fri Feb 27, 2015 4:43 pm
by Support Team
Hi Aswini,

Your observed behavior is normal since the app under test will be launched multiple times, because it needs to be reseted into initial state.

Regarding your second problem
I’m unfortunately not sure if I got your question correctly. May I ask you to describe in more detail what you mean with
Even if we instrument the app using Ranorex studio, We are not able to see the running app in the device as Android.
Thank you in advance.

Regards,
Markus (S)

Re: App launching twice

Posted: Thu Mar 05, 2015 5:16 pm
by lstauffer
I am also seeing odd behavior with our iOS app.

I instrumented the .ipa via Ranorex Instrumentation Wizard, and had success. I am able to manually open the app on the iPhone I'm testing (iPhone 6) with success.

But when I try to record a test, the app either doesn't open, or opens twice.

I have just recently upgraded from Ranorex 5.2 to 5.3 in the last 2 days.

Any suggestiosn?

Re: App launching twice

Posted: Fri Mar 06, 2015 9:52 am
by Support Team
Hi lstauffer,

As mentioned in the previous posting, the multiple start of your application is an expected behavior. It is necessary to reset the application into initial state.

Regarding the other issue
Please ensure that the Ranorex Service application is running and visible when starting your application under test with Ranorex Studio.

Regards,
Markus (S)

Re: App launching twice

Posted: Fri Mar 06, 2015 2:25 pm
by lstauffer
Ahhh . . I wasn't keeping the Ranorex service app visible. Since doing that, the app does start as expected.

Thanks!!

Re: App launching twice

Posted: Tue Mar 10, 2015 3:11 pm
by adrouechi
Hello,

I'm folowing this topic because I need more precision to understand the issues :

- You said it necessary to reset the application into initial state but it doesn't explain why the reset process can't be done within one step only. Could you give more precision about the aims of both steps when the app under test is restarted.

- concerning the App servie it's seem to be a huge diffenre with Android platform where Ranorex service app just need to be open in Android. it could be a blocking issue in a IC processes thtat launching a test suite , what about crashs issues with the app under test? The device wont display the Service app in this kind of pb and no other test can be executed then.
Is there any alternative ?

Re: App launching twice

Posted: Thu Mar 12, 2015 3:50 pm
by Support Team
Hi adrouechi,

Add1
Unfortunately it is necessary to start the application and close the application once before the application can be started again. Therefore, two start events are needed. This also ensures that the application was reset to its initial state correctly.

Add2
iOS is a very restrictive system and it is unfortunately not possible to run this service application in the background. As already stated here our service needs to be running and visible to establish a connection to Ranorex.

I hope this information helps you to understand our new iOS service application.

Regards,
Markus (S)