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



What is the difference between Action and Function.? when both has the same functionaltiy, when do..

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

What is the difference between Action and Function.? when both has the same functionaltiy, when do..

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

What is the difference between Action and Function.? when both has the same functionaltiy, when do..

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

Post New Answer

More QTP Interview Questions

in a web table , i want you to click a particular object inside cell

2 Answers  


How to enter table check points?

2 Answers  


If aclient comes to tester ask to bye a tool Keep aside about the cost,In what way we can choose the tool.

1 Answers  


HOW to invoke any recorded script in QTP with out using RECORD & PLAYBACK CONCEPT?

1 Answers  


What is the difference between property and method?

2 Answers  


what is the diff between Procedure and function

3 Answers   iFlex,


In where you are keeping or maintaining shared object repository (file)in your appliction?

2 Answers   Inlogic,


what is the defference between QTP 8.2 and 9.0and 9.2? plz tell me

6 Answers  


how will u choose a tool for test automation ?

1 Answers  


Why is action split used by qtp?

0 Answers  


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

1 Answers   HP,


how to test one edit box using dotnet addin for Web Applications? write script?

2 Answers   NTT Data,


Categories