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 |
Which property do you use to retrieve or assign data into a cell in a Data Table object?
how u track bugs using Test director in manual testing.
I Scheduled a QTP Script on remote desktop. Script is going to failure,when remote desktop connection fails.I have to open my remote desktop untile the scripts exection completes. If I disconnect my remote desktop connection, script is going to fail.?
What is wrong in my code?
how can you describe the basic flow of automation with conditional and programmatic logic?
Are Shared ORs read-only?
Excepton Handling?
How to handle dynamic objects in quicktest professional (qtp)?
How to identify the objects using descriptive programming when the object property values are same, i mean in a page 10 objects are there i want to click the 6th object but all the object property values are same? using descriptive programming
The hybrid framework can be implemented for any application. Is it true?
difference between multiple parameterization and data driven wizard in QTP?
How do I get the QTP scripts result in xml format by using vb script function?