Hi, It is possible, using the option available in qtp. Insert - Start Transaction/End Transaction
E.g., Insert the 'Start Transaction' in the begining of the script and place the 'End Transaction' in the end of the script. After the completion of script, in the Result page, it will show how many minutes/hours it executed Services.StartTransaction "StartTimer" systemutil.Run "Iexplore.exe" Services.EndTransaction "StartTimer" Result: (Total Duration: ------sec/min/hrs) 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
