How to track the execution time?

Answer Posted / sonal.pagare

StartTime = Timer
EndTime = Timer
TimeDiff = EndTime - StartTime
DataTable("TimeTaken",dtLocalSheet) = TimeDiff

Services.StartTransaction "Title"
Services.EndTransaction "Title"

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

could any help me please, how to work on visual foxpro application using UFT

1692


WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT

1711


Explain measuring transaction.

590


I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?

621


.have you ever written compiled module? if yes , tell me about some of the function that you wrote.

1684






Describe synchronization point.

583


How many ways we can parameterize data in quicktest professional (qtp)?

589


"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...

1446


What are the advantages of qtp?

583


Difference between action & Reusable action?

689


How many add-ins comes by default with quicktest professional?

556


Hi, I am using 2 excel sheet.First excel sheet works fine with the script, if it opens the 2nd excel sheet,it works fine,but after finish all the rows it is giving the following error in the following line. InValid Procedure call or argument Line (178): "Browser("name:="&result,"application version:=internet explorer 7").Page ("title:=bgt.*", "index:=0").WebList ("name:=SearchType","html id:=Select1","location:=0").Select SearchType1". I have seen a web article says that,If we use any vbscript friendly name it may gives the above error-Invalid procedure call or argument not sure,Am I using any VBScript frienlyName? in the above line? [but the same line is perfecly working for first Excel ] It is little urgent. Any Help Thanks you

1449


Where to use function or action?

672


On the website, the protocol has been changed https: to https what you will do? Tell me your approach?

584


What are the types of properties that quick test learns while recording?

540