Application logs out frequently during run time

24 views
Skip to first unread message

kse...@yahoo.com

unread,
Mar 3, 2016, 11:03:37 PM3/3/16
to mercu...@googlegroups.com
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

vikash.m...@gmail.com

unread,
Mar 16, 2016, 9:28:14 AM3/16/16
to QTP - HP Quick Test Professional - Automated Software Testing
Use below method

Public Function funWaitForPageLoad(objFACP)

  While(Trim(objFACP.Object.ReadyState)<>"complete")
wait(2)
  Wend

End Function
Reply all
Reply to author
Forward
0 new messages