'At the start of the execution of the script

intStartTestScriptTimer=Timer()

'At the end of the execution of the script

intEndTestScriptTimer=Timer()

'Now the duration of execution

intDurationOfExecution=intEndTestScriptTimer-intStartTestScriptTimer

MsgBox "Script took " & intDurationOfExecution & " Seconds in execution."

On Mon, May 2, 2011 at 8:03 PM, Sheik Adil <[email protected]> wrote:

> Hi All,
>          how to write code for Time Taken for Executing Each Test Script.
> Thank you,
> Adil
>
> --
> 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
"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