How do you measure transaction time in QTP other than start and End transaction

Showing Answers 1 - 3 of 3 Answers

AK

  • Apr 26th, 2007
 

Use Timer Function.

  Was this answer useful?  Yes

srinivas

  • May 15th, 2007
 

If we insert start trans and end trans, automatically the transaction time will be displayed in the results page.
or timer counts the no. of seconds after 12am, so if we insert two timers and the difference gives the total time for transaction.

  Was this answer useful?  Yes

kotike

  • Apr 14th, 2010
 

We have built in functions called mercurytimers. Using mercury timers we can measure the transaction time up to milliseconds.

 Ex: MercuryTimers("timername").Start
        msgbox "hello"
       msgbox "gud evening"
       msgbox "have a great day"
       MercuryTimers("timername").Stop
      <var>=MercuryTimers("timername").Elapsedtime
       msgbox var


' Elapsed time will return the time difference between start and end.
Using StartTransaction and endtransaction we can capture time up to secondes.whereas using mercurytimers we can capture time up to milliseconds.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions