Is QTP a compiler or interpreter..? can you we execute a
QTP Script file in a another system which does not have QTP
installed..??
Answers were Sorted based on User's Feedback
Answer / viswanath
QTP is an Interpreter. We cannot execute QTP script in
another system which doesnot have QTP installed
Is This Answer Correct ? | 13 Yes | 2 No |
Answer / mayank
Yes,QTP is a Complier.Beacause QTP check all lines of code
first.If it finds an error or warning(in single line of
code), then script will not execute.That's the role of
complier.
No,we can't execute a QTP Script file in a another system
which does not have QTP installed.Beacause QTP have own
objects.
Is This Answer Correct ? | 3 Yes | 2 No |
Answer / 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 |
Answer / vishala
QTP uses VBscript which is interpreted via microsoft's windows script host.Hence even though QTP acts like a compiler by compiling entire code..it is interpreter...
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / nalini
Yes. QTP is Complier. It's one of the difference between
QTP and Winrunner.
Is This Answer Correct ? | 0 Yes | 5 No |
Answer / sankalp shukla
Win runner is interpreter but qtp is compiler....correct
me if i am wrong...i think this is one of the difference
between qtp and win runner..
Is This Answer Correct ? | 1 Yes | 7 No |
what is the difference between development and testing
in how many ways you perform batchtesting?
QTP Query: Hello to all, I'm getting an error (as below) when I perform descriptive programming on any Web application. "The test run cannot continue due to an unrecoverable error.The "myvar_0" object was not found in the Object Repository. Check the Object Repository to confirm that the object exists or to find the correct name for the object " But I do not have any problem when I perform the same descriptive programming on a Windows application such as Sample Application - Flight. Previosly , I had prepared a lot of scripts - both via creating the properties collection object and by giving the description in string arguments and implemented them on Flight and they're working perfectly fine.I'm using QTP Version 9.2 The sample script I have used for Web application is as below : Set myvar_0 = Description.Create 'Setting property collection object for Browser myvar_0("class").value = "Browser" myvar_0("name").value= ".*" 'Setting property collection object for Page Set myvar_1 = Description.Create myvar_1("class").value = "Page" myvar_1("name").value= ".*" 'Setting property collection object for Text box Set myvar_2 = Description.Create myvar_2("class").value = "WebEdit" myvar_2("name").value= ".*" 'Setting property collection object for Button Set myvar_3 = Description.Create myvar_3("class").value = "WebButton" myvar_2("name").value= ".*" SystemUtil.Run "C:\Program Files\Internet Explorer\iexplore.exe" Browser("myvar_0").Page("myvar_1").WebEdit("myvar_2").Set ("hello how are you ?") Browser("myvar_0").Page("myvar_1").WebButton ("myvar_3").Click Browser("myvar_0").Page("myvar_1").Sync Browser("myvar_0").Close As our application is a Web based application, I was planning to make a few changes in regards to the object names, but unfortunately I am getting the above mentioned error. Could anyone please advice me, whether it could anything to do with the run setting or anything else.I am getting the same error even while implementing on our Sample Application - Mercury Tours website. I would be grateful to anybody who can solve my problem !!
desribe a situation where u faced a stressful situation and how did u cope with it
i have written some lines of code today..tommorow some lines of code deleted in middle of that code..how to handle this type of script
how to count spaces in a given string ex: "this is jagadeesh" in QTP with simple functional script
Hello, Can we capture only the labels of the web page in the object repository. If yes, then how. Actually my scenario is: I have to capture all the label of mercury site http://newtours.mercuryinteractive.com/tour/mercurypurchase. php. and want to copy all these labels in the notepad. So,please help me how to do this all. Thanks in advance, Gaytri
How do you test siebel application using qtp?
How do you invoke any application and write a script to invoke QTP using VB Script.
how can we do the frame work in qtp
How does QTP identifies the object in the application?
CAN ANY ONE PLEASE EXPLAIN DIFFERENT TYPE OF FRAMEWORKS USED IN QTP?EXPLAIN EACH OF THEM?..POST TO VANILKUMAR_1981@YAHOO.CO.IN