Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Synchronizing for the readiness of AUT
#1
Not Solved
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
Reply
#2
Not Solved
Try,

Code:
Browser("").Page("").Sync() or
Browser("").Page("").Sync("timeout in seconds")

Thanks,
Elango
Reply
#3
Not Solved
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
Reply
#4
Not Solved
Just try below solution, it may helps you:

Code:
On Error Resume Next
B().p().Sync
B().Sync
On Error Goto 0

Then perform your action. It helped me to overcome such errors.

Regards,
Uday
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  When QTP is open am not able to open my AUT. chetan3987 2 3,113 02-12-2014, 01:18 AM
Last Post: supputuri
  Want to Access AUT via Remote desktop in QTP9.2. ankushsingh 0 2,613 10-19-2011, 05:26 PM
Last Post: ankushsingh
  Can QTP capture the AUT learner_qtp 0 1,532 11-11-2008, 11:40 PM
Last Post: learner_qtp

Forum Jump:


Users browsing this thread: 5 Guest(s)