Forum Discussion
Certainly, we don't test the reload button of the browser. Our AUT load data without any signal on GUI so we need to use the Reload button of Chrome to determine whenever page loaded completely before moving on next steps.
- tristaanogre8 years agoEsteemed Contributor
There's a method for that..
https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/page/wait-action-page-object.htmlDoes that Wait method not work for you?
- xuanphuoc24118 years agoOccasional Contributor
Yes, currently, we are using "Wait" action as a workaround solution. However, sometimes, it still moves on next action although page is still loading.
- tristaanogre8 years agoEsteemed Contributor
The "Wait" action has a parameter in milliseconds. By default, it uses what is in Tools | Current Project Properties | Playback | Auto-wait timeout. Just as an experiment, what happens when you set that parameter to something like 120000 (2 minutes)? It won't wait 2 minutes, but it will wait UP TO that before going on. So, if it's taking time for the page to load, it could be that you need to boost that value.
There are other things we can try, but let's make sure that a simple timing correction doesn't fix it.