Page 1 of 1

Wait for page load

Posted: Thu Jul 25, 2013 9:38 pm
by esims
i see no way to make the action wait for page load in a web environment. all i see is duration in milliseconds.

is there a way to make it wait until the page is fully loaded before it executes the next directive?

Re: Wait for page load

Posted: Thu Jul 25, 2013 10:03 pm
by Alena
This can be done using function "WaitForDocumentLoaded()" which requires user code and was discussed in details at http://www.ranorex.com/forum/feature-re ... t4907.html
As a simple workaround, I prefer to choose some element at the very bottom of the web-page and set longer SearchTimeOut for it (15-20 sec just in case). When this element can be seen by Ranorex as Existing (Validate - Exists), it means the page has loaded (except some heavy items like media content, but this should be taken care of depending on testing purposes).

Regards,
Alena.

Re: Wait for page load

Posted: Thu Jul 25, 2013 10:05 pm
by esims
thank you. this is my official plus one for adding this as a non-programmatic-only feature to the product. thanks again for your reply!