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

what is defenetion of kiran can u tell me plz CVS, SVN

0 Answers  


How to capture screenshots of Exceptions/Errors during run- time?

12 Answers   Ordain Solutions,


If you use low level recording,what objects will be recorded in Object Repository and what properties?

3 Answers   CTS,


What is the difference between client server application and web based application?

1 Answers   IBM,


what is recovery scenario in QTP? what is the need of the recovery scenario in QTP? what are the advantages of the recovery scenarios in QTP?

3 Answers   CTS,






if i have 10 actions and out of 10 actions last 3 actions i renamed will my script exicute sucesfuly r not? changed actions where i can see?

1 Answers   IBM, Infosys,


Explain about the test fusion report of quicktest professional?

0 Answers  


Explain about import and export files?

1 Answers  


I want to clear the webedit field without using set"" in qtp script

1 Answers  


Did QTP prove efficient for your project? Yes or No, explain?

0 Answers  


What all challenges you have faced during automation and how you have resolved it?

2 Answers   Genpact,


Hi im new in Testing..can any one plz re-write this code SystemUtil.Run "C:\Program Files\Mozilla Firefox\firefox.exe","","C:\Program Files\Mozilla Firefox","open" ----using for loop(for i=0;i<=10;i++ )

2 Answers  


Categories