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
what is the diffrence bw qtp architectute and qtp framework?
What is quicktest professional (qtp window?
Where to use Property Let, Property Get, Property Set in UFT
Can anybody post some real time scenario in qtp? please its very urgent.
Is any limitation to xml checkpoints?
hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?
i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?
What are the types of object repository in qtp?
Is QTP supports Unix. If yes, then how the test automation is done?
How to recognise the webelement and verifying that webelement is enabled?
When to use shared and local object repository?
Explain the concept of how quicktest professional (qtp) identifies object?
Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?
How to find array size in qtp?
How to start recording using quicktest professional?