How to track the execution time?
Answers were Sorted based on User's Feedback
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 |
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 |
Where are the snapshots stored?
How to execute a VBS file without using Execute File statement?
What is meant by Step Generator in Qtp How is it used? pls gimme in detail
how can we handle exceptional handling in qtp
Explain the features and benefits of quick test pro(qtp)?
how many scripts r there in QTP? pls any answer this question?
Could any one suggest web site links to learning VB Script for QTP purpose??
What is an optional step in qtp ?
plz anybody tell me how to explain the architecture of one particular project.plz give me answer for this.....RAJESH
how to get column count in datatable
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.
What is a runtime datatable ?