Page 1 of 1

Unable to wait for document to load in RxBrowser on iPad

Posted: Thu Jan 12, 2017 3:45 pm
by rsa
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.

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

Posted: Fri Jan 13, 2017 11:45 am
by Support Team
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)

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

Posted: Mon Jan 16, 2017 12:49 pm
by rsa
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

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

Posted: Tue Jan 17, 2017 2:51 pm
by Support Team
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)