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 |
What are software testing metrics
Explain roles and responsibilites of 2yrs Automation qtp engineer.
How can we log a defect in Testdirector from Q.T.P ?
Discuss QTP Environment.
Which functionalities of QTP used in banking project? pls any say answer?
what is the Command used to start the QTp from Run.(start-> Run)
Explain the concept of how QTP identifies object.
Name the different types of recording modes?
What does mean by Scope of Automation?n How we defined it?
what is error and fault in terms of software quality?
Who uses qtp tool?
How to execute a WinRunner Script in QTP?