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

Where are the snapshots stored?

2 Answers  


How to execute a VBS file without using Execute File statement?

3 Answers   iGate,


What is meant by Step Generator in Qtp How is it used? pls gimme in detail

7 Answers   AppLabs,


how can we handle exceptional handling in qtp

6 Answers   NIIT,


Explain the features and benefits of quick test pro(qtp)?

0 Answers  






how many scripts r there in QTP? pls any answer this question?

4 Answers  


Could any one suggest web site links to learning VB Script for QTP purpose??

3 Answers  


What is an optional step in qtp ?

0 Answers  


plz anybody tell me how to explain the architecture of one particular project.plz give me answer for this.....RAJESH

7 Answers   TCS, Wipro,


how to get column count in datatable

3 Answers  


Using Regular expression method some particular value is not present in given value. HOow do use regular expression? Forexample password all number,character ,special character are accepted but (_',)underscore,comma are not used. How do write regular expression.

1 Answers  


What is a runtime datatable ?

2 Answers   Ordain Solutions,


Categories