Answer Posted / 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 View All Answers
Hi, How Accessibility checkpoint in QTP can be implemented in the test script?
What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)
How many ways we can parameterize data in quicktest professional?
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..
After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.
How can we retrieve the Bug Ids which are open&Reopen in status through QTP scrit?Please find the script which i tried... Dim objBugFactory, objBug Dim BugId Set TDConnection = QCUtil.TDConnection Set objBug = TDConnection.BugFactory If QCUtil.IsConnected then Reporter.ReportEvent 0, "Connected", "Connected to server: " + QCUtil.TDConnection.ServerName + chr (13) +"Project: " + QCUtil.TDConnection.ProjectName + chr (13) + "Domain: " + QCUtil.TDConnection.DomainName Reporter.ReportEvent 0, "Current time on server is","==>" & TDConnection.ServerTime Else Reporter.ReportEvent 1, "Not connected", "Not connected to Quality Center" End If If mybug.Status="Open" Then BugId=mybug.DefectId MsgBox BugId End If 'OR**********************************--------------------- -----********************************** If Bug_Fields("BG_STATUS").Value ="Open" Or "Re Open"Then BugId=Bug_Fields("BG_BUG_ID").Value MsgBox BugId End If
how to know no.of mails in our g mail by using vb-script
How many types of parameters are available in quicktest professional (qtp)?
Why we load add-ins in qtp?
what are the utilities and drivers
How to create runtime property for an object?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?
What kind of performance is expected on the client side (e.g., how fast should pages appear, how fast should animations, applets, etc. load and run)?
how can we preform retesting(DATA driven test) using function please gine the code for loginpage