What is the difference between Functions and Action ?
Answer / anshuman
functions are encapsulation of segments of code which is
used several times in the script.They can be either within
the QTP script or can be maintained in external .VBS or .TXT
files.
Action is a thing specific to QTP while functions are a
generic thing which is a feature of VB Scripting. Action can
have a object repository associated with it while a function
can’t. A function is just lines of code with some/none
parameters and a single return value while an action can
have more than one output parameters.
| Is This Answer Correct ? | 3 Yes | 2 No |
What criteria do you use when determining when to automate a test or leave it manual?
What are Add-ins availble in licensed version QTP8.2
i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer
For ex we are doing automate testing in that can we do some part of application recording, some part descriptive programing and some part general VB scripting like that .............
how can i prepare for QTP(8.2) to face interview ? give over view details?
What is a Web Table?
Diff between Test Stratergy and Test Plan? Diff b/w Test design ansd test case design?
I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that
What is the differnce between action & script
What are the steps involved in recovery scenario wizard?
How to identify the objects using descriptive programming when the object property values are same, i mean in a page 10 objects are there i want to click the 6th object but all the object property values are same? using descriptive programming
WHAT AREV THE STEPS BETWEEN TEST cASE AND Script generation?