is it compulsory to keep Rxservice App in foreground for iOS?

Ask general questions here.
priyank1989
Posts: 30
Joined: Wed Aug 14, 2019 8:59 pm

is it compulsory to keep Rxservice App in foreground for iOS?

Post by priyank1989 » Fri Feb 28, 2020 10:55 pm

Basically I am using code module to run my testcase.

So My testcase is like change some settings on server(web app) and make sure that change appear appropriately on client (iOS app).

so what I am doing is like set my current host to local machine first

Step 1
Host.MakeCurrentHost(localhost);
and make some change on web app(server) .

Step 2- change host to my iOS device
Host.MakeCurrentHost(endpoint1);
so its like sometime it will launch my application and sometime it will not and its all depend on my RxService app is on foreground or not...

and also when I start my app it tried to launch it twice ...

https://www.ranorex.com/forum/viewtopic ... App#p40208

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

Re: is it compulsory to keep Rxservice App in foreground for iOS?

Post by Support Team » Mon Mar 02, 2020 3:09 pm

Hello,

I'm afraid it is necessary that the Ranorex Service Application is running and active on the mobile device. It also necessary that it is not running in the background as this may prevent you from using the start/stop functionality for the mobile application.

Please find more information about that in our user guide.

Regards,
Bernhard
.
Image

priyank1989
Posts: 30
Joined: Wed Aug 14, 2019 8:59 pm

Re: is it compulsory to keep Rxservice App in foreground for iOS?

Post by priyank1989 » Wed Mar 04, 2020 11:16 pm

Nope , I have iPad mini with iOS 11.0 and I have to keep running that Rxservice App otherwise its not showing device as connected into Ranorex studio endpoints sections.
If we don't have to launch Rxservice app on device than can you please explain me the use of that application into device ?