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?!
Ranorex Service on iOS 10 losing connection.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Ranorex Service on iOS 10 losing connection.
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
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
Re: Ranorex Service on iOS 10 losing connection.
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!
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!
Re: Ranorex Service on iOS 10 losing connection.
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).
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).
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Ranorex Service on iOS 10 losing connection.
Hi Kieran,
Thank you for providing your solution with the community.
Sincerely,
Matthias
Thank you for providing your solution with the community.
Sincerely,
Matthias