Unable to wait for document to load in RxBrowser on iPad

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
rsa
Posts: 3
Joined: Thu Nov 17, 2016 1:41 pm

Unable to wait for document to load in RxBrowser on iPad

Post by rsa » Thu Jan 12, 2017 3:45 pm

Hi,

our tests containing calls to WaitForDocumentLoaded fail whenever run in RxBrowser on iPad.
They pass if run in Chrome/IE on Windows.

Is WaitForDocumentLoaded supported on iPad?
If not, does there exist a list of actions not supported on iOS/iPads?

We currently use Ranorex Studio 6.2.0 and up-to-date versions of iOS and the RxBrowser.

Any help will be appreciated.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Unable to wait for document to load in RxBrowser on iPad

Post by Support Team » Fri Jan 13, 2017 11:45 am

Hi rsa,

Thank you for reporting this issue. May I ask you which behavior you are exactly observing on your mobile device?
Please also let me know if you are using the WaitForDocumentLoaded on the dom object itself or on another repository element.

Looking forward to your response.

Regards,
Markus (S)

rsa
Posts: 3
Joined: Thu Nov 17, 2016 1:41 pm

Re: Unable to wait for document to load in RxBrowser on iPad

Post by rsa » Mon Jan 16, 2017 12:49 pm

Hello Markus,

basically we just start the browser and use the dom object (/mobileapp//dom) to navigate to our desired page:

Code: Select all

Host.Local.RunMobileApp([...], "ranorex.RxBrowser", true);            	
repo.dom.Self.Navigate(
    Address, 
    ValueConverter.ArgumentFromString<bool>("waitforloaded", "True"),   
    ValueConverter.ArgumentFromString<Ranorex.Duration>("timeout", "30000ms"));
[...]
Executing this code results in the browser on the mobile device to navigate to the desired page (in <10s) and then staying there, timing out on "waitforloaded" after 30s.

Removing "waitforloaded" and inserting a fixed delay allowed executing the following steps, but out tests often feature calls to the method WaitForDocumentLoaded of the dom, which also always fail if run on RxBrowser.

Regards,
rsa

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Unable to wait for document to load in RxBrowser on iPad

Post by Support Team » Tue Jan 17, 2017 2:51 pm

Hi rsa,

Thank you for the additional information. I've already added an entry in our bug tracking system and our development team will take a deeper look in that issue. Unfortunately, we do not know when this will be fixed. This depends on various factors. Nevertheless, all reported bugs and features are documented in the release notes, with every new version release of Ranorex.

Regards,
Markus (S)