Use below method Public Function funWaitForPageLoad(objFACP)
While(Trim(objFACP.Object.ReadyState)<>"complete") wait(2) Wend End Function On Friday, March 4, 2016 at 5:03:37 AM UTC+1, Sekha wrote: > > All, > > Until last month my scripts were working fine but lately my application > is logging out inadvertently although nothing changed in scripts > > What I noticed , in some areas of application qtp clicks during the page > load and so application is getting crashed > > I tried all sync methods incl browser time out , longer waits , object > sync but don't see any luck > > Any other sync methods can you suggest ? > > Also is there any trigger in qtp that indicates page load complete so I > might as well use that before click next > > > Thanks > > > > Sent from my iPhone -- -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
