Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


How to track the execution time?

Answers were Sorted based on User's Feedback



How to track the execution time?..

Answer / 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

How to track the execution time?..

Answer / uday

You can view your test execution time in the Test Results
without writing any code.
In test results, you can see how much time it took to
execute the whole test(start time and end time).
You can also view how much time it took to execute each
action aswell.

If you want to programatically, see the time difference, use
the below code:
time1=time
'put all your code here
time2=time
msgbox(time2-time1)

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

How can i learn Descriptive programming in QTP. Please reply.

3 Answers  


Explain advantages and disadvantages of ddf?

0 Answers  


How does QTP identify an object?

0 Answers  


How u will do versioning in QTP?

0 Answers   NIIT,


How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?

0 Answers   CTS, Nabard,






What are the different recording modes?

0 Answers  


What are the Mandatory Properties of WebTable Object and Link Object in Web testing using QTP

2 Answers   iLink,


What is the Difference between test object and run time object?

0 Answers  


Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT

0 Answers   Cognizant,


Explain how to use QTP to check broken links on a page?

0 Answers  


I have a Webtable object in my shared object repository, say WT1, which has different index value in 2 different versions, one version having WT1's index value as 1 and other version having WT1's index value as 2. how could i use same test script to identify the WT1 object having different index values.

5 Answers  


As u told write Libarary files in QTP. Do u use ever oject repositary 0r spy while writing scripts and for which type of testing u prepared test scripts.

1 Answers  


Categories