iOS rxserviceapp and rxbrowser

Download and share automation modules and examples.
Harsh
Posts: 16
Joined: Wed Sep 13, 2017 1:14 am

iOS rxserviceapp and rxbrowser

Post by Harsh » Mon Sep 25, 2017 6:21 pm

Hi,
How do I start AND stop the rxserviceapp and rxbrowser on an iPad?
I have tried the following with no success:
1. Host.Local.RunMobileApp("MyDeviceName", "ranorex.RxBrowser", true);
2. Host.Local.RunMobileApp("MyDeviceName", "ranorex.RxServiceApp", true);

In both cases I get the error following errors respectively:
1. Failed to start app 'ranorex.RxBrowser' because the app started event was not received within the specified timeout of '00:00:30 (+00:00:16)'.
The operation has timed out.
2. Device WaitFor(DeviceConnected) timed out. ConnectTimeout: 00:00:30

This is being done with Ranorx 7.1.1, RxServiceApp version 2.3.1,RxBrowser version 2.3.1 and iOS 10.3.3

Thanks in advance for your help.
Harsh

asdf
Posts: 174
Joined: Mon Mar 21, 2016 3:16 pm

Re: iOS rxserviceapp and rxbrowser

Post by asdf » Wed Sep 27, 2017 8:20 am

Hi Harsh,

Unfortunately, it is not possible to run the RxService application through the RunMobileApp()-method. This have to be opened manually.
Regarding the RxBrowser, have you already tried to simply use the RunMobileApp-action in order to start the RxBrowser?
RxBrowser.png
RxBrowser.png (1.76 KiB) Viewed 812 times
Hope this helps.

Sincerely,
asdf

Harsh
Posts: 16
Joined: Wed Sep 13, 2017 1:14 am

Re: iOS rxserviceapp and rxbrowser

Post by Harsh » Thu Sep 28, 2017 4:38 pm

Thank you asdf for your reply. I am able to launch the RxBrowser programmatically now.

Would you also please let me know syntax for closing it?
so far I have tried the following and none seems to work.

Host.Local.CloseApplication("ranorex.RxServiceApp");
Host.Local.KillBrowser("ranorex.RxBrowser");

Thanks for you help.
Harsh

Harsh
Posts: 16
Joined: Wed Sep 13, 2017 1:14 am

Re: iOS rxserviceapp and rxbrowser

Post by Harsh » Thu Sep 28, 2017 8:11 pm

I got it closing and opening browsers and apps on ios. Thanks a lot for all your help.