Is QTP a compiler or interpreter..? can you we execute a
QTP Script file in a another system which does not have QTP
installed..??
Answer Posted / medabalimi
Your perspective towards QTP is little different:
QTP exibits compiler behaviour when editing and running
scripts. i.e Checks for syntax errors for all the lines in
the editor at once upon saving or running. But the actual
execution is interpretation of VB script code.
You can not run the Scripts created (VBScript) in QTP on
other machines, because the scripts refere QTP specific
objects where there are created such as Object
Repositories, tsp and mtr files. Technically it is possible
to write tests that are pure VBScript, but logically they
of no use to solve realword problems.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain QTP using different development techniques ?
What is file database?
What is the parameterization?
What is contained in the object repository?
How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet
before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...
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
If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?
You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?
i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework
Is any limitation to xml checkpoints?
After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans
Explain about business process component? types and usage?
How to find the name of the machine where you are running your automation scripts in qtp?
Does Low-level recording capture mouse movements?