Hi,
I don't know if I am the only one who have this issue, but when I use the 'WaitForDocumentLoaded' action, if I work on Firefox, the action doesn not wait the page to be loaded.
On the contrary, if I use Chrome, I works perfectly.
In my test case, I used the 'WaitForDocumentLoaded' action right after a 'Click' on a link.
Does anyone can help me?
Am I the only one dealing with this problem?
I Try with the following couples:
- Ranorex 3.2 + Firefox 13.0.1
- Ranorex 3.2 + Firefox 16.0.1
- Ranorex 3.3 + Firefox 16.0.1
It's the same behaviour regarding any of the couples above.
'WaitForDocumentLoaded' doesn not wait on Firefox
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: 'WaitForDocumentLoaded' doesn not wait on Firefox
Hi,
Firefox 13 is supported since 3.3.0 and Firefox 16 since 3.3.3, so please use the current Ranorex version (3.3.3) if you want to test your webpage with Firefox 16 and use at least 3.3.0 if you want to test your page with Firefox 13.
Regards,
Markus
Ranorex Support Team
Firefox 13 is supported since 3.3.0 and Firefox 16 since 3.3.3, so please use the current Ranorex version (3.3.3) if you want to test your webpage with Firefox 16 and use at least 3.3.0 if you want to test your page with Firefox 13.
Regards,
Markus
Ranorex Support Team
Re: 'WaitForDocumentLoaded' doesn not wait on Firefox
Yeah, I'm sorry, I made a Mistake. I wanted to say :
- Ranorex 3.3.2 + Firefox 13.0.1
- Ranorex 3.3.2 + Firefox 16.0.1
- Ranorex 3.3.3 + Firefox 16.0.1
In the case you said, I would not have been able to start at all the test case.
- Ranorex 3.3.2 + Firefox 13.0.1
- Ranorex 3.3.2 + Firefox 16.0.1
- Ranorex 3.3.3 + Firefox 16.0.1
In the case you said, I would not have been able to start at all the test case.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: 'WaitForDocumentLoaded' doesn not wait on Firefox
Hi,
Ranorex just checks if the "readystate" of the browser itself is set to complete, so this seems to be an issue with Firefox.
For test purposes you can output the "State" property of the WebDocument (root element) in a loop.
Then you should see when the browser sets the state to complete.
The recommended way in order to wait until the page is successfully loaded is to validate if an element exists on the page, choose an element which just exists when the page is successfully loaded. Then you can be sure that the webpage is ready for your needs. Sometimes it could be possible that you get the complete state of your webpage, although the site doesn't finish rendering, therefore we recommend to use the validate step.
Regards,
Markus
Ranorex Support Team
Ranorex just checks if the "readystate" of the browser itself is set to complete, so this seems to be an issue with Firefox.
For test purposes you can output the "State" property of the WebDocument (root element) in a loop.
Then you should see when the browser sets the state to complete.
The recommended way in order to wait until the page is successfully loaded is to validate if an element exists on the page, choose an element which just exists when the page is successfully loaded. Then you can be sure that the webpage is ready for your needs. Sometimes it could be possible that you get the complete state of your webpage, although the site doesn't finish rendering, therefore we recommend to use the validate step.
Regards,
Markus
Ranorex Support Team
Re: 'WaitForDocumentLoaded' doesn not wait on Firefox
Thank you for your response.