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, [email protected] wrote:
>
>
> [email protected] Google Groups
> Topic digest
> View all topics
> Application logs out frequently during run time - 1 Update
> Application logs out frequently during run time
> [email protected]: 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
> Back to top
> 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 [email protected].
--
--
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.