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


Please Help Members By Posting Answers For Below Questions

I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!

1509


how to acess a test in RSA?

1768


How we can import data from database?

763


Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.

1590


What is the file extension of the code file and object repository file in QTP?

699






An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))

1700


Hi Samrat, Thank u very much, what u said it is right.

1473


if anyone has idea of the interview procedure in covansys, plz send me a mail?

1593


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)

1102


To retrive the test data which tool vl use and whats basis u vl write test data? its urgent

1528


What is the difference between the keyword view and expert view?

604


Why to use descriptive programming?

659


how can we do the frame work in qtp

1688


What is the short cut keys for the following?

710


What are the views available in quicktest professional (qtp)?

684