Daim Phillips,
    Manish has already given a similar solution in this mail chain earlier,

But i think you may need to use Do Until loop
*Dim i*
*i = 0*
*Do **
*
*     i = i + 1*
*     If i = 100 Then*
*        Exit Do*
*     End If*
*Loop until browser("browser").page("page").webelement("Your transaction is
completed").exist**
*
****
Note : the above is just an example i am not sure about what type of object
is displaying the text and object hierarchy,Spy the *"Your transaction is
completed" *text to learn that

-- 
Regards,
Dhanasekar S.
http://testingideas.wordpress.com


2009/9/15 Daim Phillips <[email protected]>

> Thanks a lot for the details.
>
> I need some more explanation on what you have provided me
>
> The do while loop is confusing. What I understand is that it would exit the
> do loop after 60 seconds, right? where is the value of message (used in do
> while loop) that QTP will compare with?
>
> How will I use sync against Process button? The sync seems to be a global
> timeout where if object doesn't appear completely, it would just timeout.
> How is it going to work for the success message on the same page.
>
>
>
> ****
>
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to