Ranorex Service on iOS 10 losing connection.

Mobile Testing, Android App Testing.
User avatar
FelixK98
Posts: 54
Joined: Fri Apr 08, 2016 6:28 am

Ranorex Service on iOS 10 losing connection.

Post by FelixK98 » Mon Oct 10, 2016 3:02 am

Hi Everyone,

I got Ranorex test suite integrated within our CI on TeamCity.
I am running test suite for iOS mobile hybrid app.
The Ranorex Service version is 2.2.0, iOS version is 10.0.2 and I am using Ranorex 6.1.0.
I connect to mobile via WIFI.
So, the situation as following:
I am manually bringing Ranorex Service on foreground of iPod, then CI runs test suite for about 30 minutes and after test run finished Service gone to the background and iOS home screen is shown. Later if I not bringing Service back to foreground the test run failes due to communication problem: Ranorex can't connect to the service (on iPod) and all test are failing with communication error.

Any help, please?!

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Ranorex Service on iOS 10 losing connection.

Post by Support Team » Thu Oct 13, 2016 8:44 am

Hi Felix,

Unfortunately, I'm not aware of this problem.
Would it be possible to send an email to [email protected] with a detailed description of your issue.

We can look into it remotely if it is necessary.

Kind regards,
Matthias
.
Image

kieran
Posts: 2
Joined: Wed Apr 05, 2017 12:16 pm

Re: Ranorex Service on iOS 10 losing connection.

Post by kieran » Wed Apr 05, 2017 12:26 pm

Hi,

I seem to be having exactly the same issue detailed by Felix.

Was there any resolution as to how to keep the service app open or reopen it between test runs without having to manually interact with the device connected to my TeamCity build agent?

Thanks!

kieran
Posts: 2
Joined: Wed Apr 05, 2017 12:16 pm

Re: Ranorex Service on iOS 10 losing connection.

Post by kieran » Wed Apr 05, 2017 1:58 pm

Found the solution.

If anyone else is looking at this with a similar problem you might need to call Host.Local.CloseApplication at the end of your test run which will return your device to the service app rather than leaving it on your application (which will close and return to the homescreen when your CI process deploys the latest version of your application to your device).

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Ranorex Service on iOS 10 losing connection.

Post by Support Team » Fri Apr 07, 2017 2:50 pm

Hi Kieran,

Thank you for providing your solution with the community.

Sincerely,
Matthias
.
Image