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 to disable the pop ups through QTP using a script
There is an excel file of 1 to 100 sheets how you will iterate through it?
How do we analyze the checkpoint results?
Key word driven framework
Object repositories types, which and when to use?
what is stepin & stepout?
How to use actions in qtp ?
How many types of recording facility are available in quicktest professional?
www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example
How does you test a weblink which is changing dynamically?
How to test login module with different username and password by using data driven testing in QTP?
Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?
What do you mean by checkpoints in qtp?
how to post xml data from QTP scripts to any application?
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?