Hi Daim,

Is your application a Web based application?
If so than check if the browser is in busy state while the transactions are
processed. For Browser busy you can use the following:

Dim i
i = 0
Do While Browser("micclass:=Browser", "title:=<title of your
page?").Object.Busy
     i = i + 1
     If i = 100 Then
        Exit Do
     End If
Loop

On Wed, Sep 9, 2009 at 12:05 PM, Daim <[email protected]> wrote:

>
> There is a button say “Process”, which when clicked processes the
> transaction.
>
> The transactions are processed on different time slices. Some
> transactions take 5 seconds, some even take 50 seconds.
>
> I want to automate my test such that it is not dependent on time at
> all. As soon as the transaction is completed, it should go to the next
> step.
>
>
>
> >
>


-- 
Regards,
Manish | HPCP

Messanger IDs:
Skype: manishbhalshankar
Yahoo: manishbhalshankar
GTalk: manishbhalshankar

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