What is the difference between Functions and Action ?
Answer Posted / 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 |
Post New Answer View All Answers
what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana
Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar
Can anyone share/send me QTP 8.2 Crack as I had it before but now it's virus affected. Pls send me on Sawale.vijay@gmail.com Thanks, ~Vijay
Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.
What is the parameterization?
How to connect to a database?
How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?
How to use setroproperty?
Hi,All How to create a link in excel sheet using qtp
What are the flaws in water fall model and how to overcome it?
Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.
Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?
if mandatory and Assitive propertys are shows same how will u write skript in QTP window
What are the features of quick test pro(qtp)?
What are the advantages of parameterization ?