I am assuming that you are using QTP since this is a QTP forum. On the task bar of QTP you should have two clock icons. One of the icons is for Start transaction timing and the other for End transaction. Click in the code where you want to start the timing and click the Start transaction timing. Then click at the place in the code where you want to end the timing and click the End transaction timing icon. At this point you will have your start and end timings. subtract the Start timing from the End timing and you will have time it took to complete that portion of the code.
Good luck. PS. If you do not have the icons on your toolbar, go to View Tool bar and enable it. On Wed, Aug 10, 2011 at 1:33 AM, Sheik Adil <qtpa...@gmail.com> wrote: > Hi Folks, > i want the start time,End Time and Total Time of Script > Execution in Result.xls file. > so plz send me the code. > Thanks in Advance > 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 MercuryQTP@googlegroups.com > To unsubscribe from this group, send email to > mercuryqtp+unsubscr...@googlegroups.com > 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 MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en