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 |
How can you give wait up to 10 seconds in qtp?
In your QTP framework, what checkpoints were applied in the script to minimize script failure due to any reason during execution?
How to check the value for variables during run time. Pls anybody can give the answer.. Thanks in advance...
what is the Command used to start the QTp from Run.(start-> Run)
How cookies can be tested in QTP?
What is difference between the For..Next and While..Wend statements?
Can we record an application running on a remote machine using qtp?
What are the file extensions for per-action, shared object repository files and what is the extension for library files?
what is the difference between IE & Netscape in web testing on a log in page
What is iteration? How it is related to Test Results in QTP
3 Answers Virinchi Technologies,
What is the difference between Functions and Action ?
Hi! Using Descriptive Programming How do we get Parent object for an object. Say, i want to get a parent object for a "Link" in a web page. thanks