What is the difference between Action and Function.? when
both has the same functionaltiy, when do we choose Action
and when do we choose Function..??
Answer Posted / nath t
Major Differences:
Functions: Function returns only one value. it doesn't has
Object repository.
Actions: Actions has Object repository. It returns more
than one value (i.e Output parameters). We can declare
more than one Output parameter.
we can call Function in any Actions in QTP test. But Action
is not like that we have to mention that as reusable action
in Action Properties.
we can store Functions in .VBS file. but Action we cann't
store like this way.
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
How do you create new test sets in td?
In order to select an automation tool for automating ur application, what r the things u need to consider? For eg i will go for automation; 1) When there is a lot of retesting and regression testing. 2) Return on investments. 3) Whether the tool supports the appln. 4)--------------, etc. Pls give me more number of points because my answer did not satisfy the interviewer. Very urgent pls
Explain features of the latest version of qtp/ uft 12.1?
How do you synchronization point through DP?
How to define array in qtp?
What is regular expression?
How will you report the bug and explain the defect tracking sheet you handled?
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
How you can decide which type of object repository you have to use?
How can i initiate the objects to find uniquely in OR
how do u plan test automation?
I have qtp 9.5 demo ver,I am not able to record the yahoo broeser.so anyone can tell me what setting i have to do in QTP for yahoo brower recording. why its not recognise the object of yahoo browser????
Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?
What does it mean when a check point is in red color? What do you do?
How can you pass value one action to another action?