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 i learn Descriptive programming in QTP. Please reply.
Explain advantages and disadvantages of ddf?
How does QTP identify an object?
How u will do versioning in QTP?
How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?
What are the different recording modes?
What are the Mandatory Properties of WebTable Object and Link Object in Web testing using QTP
What is the Difference between test object and run time object?
Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT
Explain how to use QTP to check broken links on a page?
I have a Webtable object in my shared object repository, say WT1, which has different index value in 2 different versions, one version having WT1's index value as 1 and other version having WT1's index value as 2. how could i use same test script to identify the WT1 object having different index values.
As u told write Libarary files in QTP. Do u use ever oject repositary 0r spy while writing scripts and for which type of testing u prepared test scripts.