Synchronizing for the readiness of AUT - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Synchronizing for the readiness of AUT (/Thread-Synchronizing-for-the-readiness-of-AUT) |
Synchronizing for the readiness of AUT - sams001 - 12-12-2012 Hi All, In my framework i need a function which can synchronize or wait till the AUT site is fully loaded. Checking for an object (UI checking) is soemthing which is not passing all the time, sometimes it says the object has existed before the page is fully loaded. So i cannot reply on this. Is there any other way to synchronize till the page is fully loaded. Thanks Sams RE: Synchronizing for the readiness of AUT - elango87 - 12-12-2012 Try, Code: Browser("").Page("").Sync() or Thanks, Elango RE: Synchronizing for the readiness of AUT - sams001 - 12-12-2012 HI Elango, Sorry for missing out one point. Browser.Sync is giving problems when the respective browser is still loading. QTP getting hung and no other go except restarting the tool. Thanks Sams RE: Synchronizing for the readiness of AUT - udayanem - 12-17-2012 Just try below solution, it may helps you: Code: On Error Resume Next Then perform your action. It helped me to overcome such errors. Regards, Uday |