05-13-2011, 01:38 AM
Hi tdevick,
I do agree with you but the only with is the issue with QTP sync is commonly noticed. In order to handle this situation, I always use my own function rather than depending on the QTP method.
here is the loc:
Let me know if you need any info or if it doesn't work.
I do agree with you but the only with is the issue with QTP sync is commonly noticed. In order to handle this situation, I always use my own function rather than depending on the QTP method.
here is the loc:
Code:
Browser("TestBrowser").Refresh
StartTime = Now()
'Used DateDiff method as Timeout.
Do until Browser("TestBrowser").Object.ReadyState = 4 or DateDiff("s",Now(),StartTime)>20
wait 1
Loop
If Browser("TestBrowser").Object.ReadyState = 4 Then
msgbox "Done"
Else
msgbox "Browser was not loaded with in 20 seconds."
End If
Let me know if you need any info or if it doesn't work.
Thanks,
SUpputuri
SUpputuri