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?
Wait for page load
Re: Wait for page load
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.
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
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!