Hi K Shekha
Assuming you have described your problem correct, you can use a "for loop with a conditional statement block that checks for an object on the next page and exits the for loop if it finds it. Set up the for loop counter to a higher number and put a wait statement with 1 second interval before conditional block.
E.g, for i = 0, i <15, i ++
Wait(1)
If (browser.nextpage.object.exists) then
Exit for
End if
Next
This may not be a robust solution but will alleviate your challenge.
Regards
Nimith
Sent from my iPad
kse...@yahoo.com: Mar 03 11:03PM -0500
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
|