nsag_1512
6 years agoOccasional Contributor
"frame.contentDocument.readyState" function not working
Test Complete Version: 12.60.5545.7 x64 Hi all, I am using this method https://support.smartbear.com/testcomplete/docs/app-testing/web/general/common-tasks/waiting-for-pages.html to wait the page ...
- 6 years ago
Wait for page will not work with the loader because the loader is using AJAX and Javascript injection to get modified.
Wait only waits for the page to get notified that the browser finished rendering the page. ALL AJAX calls could happen after the page has signaled that it finished the rendering.
Unfortunately there is no event like "On AJAXCallCompleted" so you actually have to use something like "WaitProperty" to wait on a specific property or an array of properties on the page to change for you to be notified.
Hope that helps
-Lino