Re: Digest for mercuryqtp@googlegroups.com - 1 update in 1 topic

13 views
Skip to first unread message

N Murthy

unread,
Mar 4, 2016, 1:59:55 PM3/4/16
to mercu...@googlegroups.com, kse...@yahoo.com
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

On Mar 4, 2016, at 1:50 PM, mercu...@googlegroups.com wrote:

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
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to mercuryqtp+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages