What is the difference between functions and actions in
QTP?
Answer Posted / uday kumar_anem
Both Actions and Functions are used to access a peace of
code, that is frequetly used.
The main difference is :
Functions have only application logic, means that we dont
have access to the resources of a test.
For ex: we need to write a script to access Object
Repository, Data Table etc....
Actions also have application logic and the resources
associated with that action.
For Ex:
Say if you want to call a function, here you need to pass
function name and all other resources like(OR, Data Table
etc...).
Where as if you call an action, all these resources come
with action(based on the type of the action).
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
how can we preform retesting(DATA driven test) using function please gine the code for loginpage
what are the critical test cases in crm? tell me atleast 5 critical test cases? what are the critical bug u find out while testing crm domain?
Difference between action & Reusable action?
Explain different recording modes?
Connect to QC using AOM.
How do you delete unwanted results in qtp?
How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks
What is environment variable in qtp and why to use it?
Explain the N-tire structure(process) for Funds Transfer ( means give N ways to funds Transfer in an Application)
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?
What is the difference between local and shared object repository in qtp?
What are the trigger events in qtp?
What is output value? How many types of output values are there in qtp?
Describe function procedure in vbscript.