How to track the execution time?

Answers were Sorted based on User's Feedback



How to track the execution time?..

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

How to track the execution time?..

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

Post New Answer

More QTP Interview Questions

how to know no.of mails in our g mail by using vb-script

0 Answers   HP, Thinking Hats,


What is the difference betweent test and component?

1 Answers  


Can we record a video in qtp recording??

1 Answers   BirlaSoft,


How software tester can use constants and variables in scripts?

0 Answers  


How qtp identifies objects?

0 Answers  






What is the difference between "call" and "callclose"

1 Answers   Polaris,


suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?

0 Answers  


what is key word driven frame work how to use keyword driven frame in QTP in a project

1 Answers   AppLabs,


Are Shared ORs read-only?

0 Answers  


How many ways to configure the application in QTP,Explain

2 Answers   CTS,


HI All i need one suggestion.is there any companies taking corresponding degree courses. i have 3+ yrs exp in QTP and i am working north side. iam looking for job in south.

1 Answers  


How to Analyze the Checpoint results with Standard Checpoint ?

1 Answers  


Categories