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..??
Answers were Sorted based on User's Feedback
Answer / pratap h s
Actions are more specific to tool Example QTP
Functions are generic and part of programing language.
Actions in QTP are used to divide the test into different
logical units .
Within actions we can write functions .
but witin functions we cant use actions
we call functions in actions .
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / bfakruddin
Hi Folks,
Here I am giving an efficient data about Actions and
Functions... and when we use specifically...
click here
http://qtptesters.blogspot.com/2009/03/actions-vs-functions.html
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / 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 |
in a web table , i want you to click a particular object inside cell
How to enter table check points?
If aclient comes to tester ask to bye a tool Keep aside about the cost,In what way we can choose the tool.
HOW to invoke any recorded script in QTP with out using RECORD & PLAYBACK CONCEPT?
What is the difference between property and method?
what is the diff between Procedure and function
In where you are keeping or maintaining shared object repository (file)in your appliction?
what is the defference between QTP 8.2 and 9.0and 9.2? plz tell me
how will u choose a tool for test automation ?
Why is action split used by qtp?
Browser("Las Vegas Hotels - Las").Page("Vegas Hotels - Hotels").Link("Luxor") ......here Luxor is a hotel and this is recognised as a link. I have many hotels like Luxor, Palms etc which are all displayed as link...How do I parametrize this by using webtable functions??? ASAP
how to test one edit box using dotnet addin for Web Applications? write script?