What is the exact difference bet function and action in QTP
Anybody can explain it in detail..Thanks in advance..

Answers were Sorted based on User's Feedback



What is the exact difference bet function and action in QTP Anybody can explain it in detail..Than..

Answer / dibyendu hembram

Function:- function is a group of methods and instruction
and it can be access whenever we call that function

Action:- action is use to split our test script into more
flexible and logical unit advantage:- 1.if we require a
particular step of our test script then we can use action
by making it reusable action. 2. if 2 or more than two
scripts require the same script then we go for the action

Is This Answer Correct ?    6 Yes 9 No

What is the exact difference bet function and action in QTP Anybody can explain it in detail..Than..

Answer / sowmya m

Function must return avalue where Action is not required

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More QTP Interview Questions

what is parameterisation?

3 Answers  


what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana

0 Answers   Mannar Company, Wipro,


QTP identifying the child tabs in a maintab like tab_1,tab_2,tab_3,tab_4 while using a for loop for these tabs.its not proceeding from _1 to _2. How can i use "for loop "

2 Answers   Livetek,


i have an array CAPGEMINI .....Here i need to check whether G is there or not ..how to do that and friends i have one big doubt that is whether it is array or string ,how we come to know that and where we consider that it's array ,where we consider that it's an string because when i want to find the length i have big doubt whether we need to use len function or ubound ... ans me for this TWO Questions any one please

7 Answers   Cap Gemini,


what is batch run ?

4 Answers   HCL,






How many ways to configure the application in QTP,Explain

2 Answers   CTS,


Explain calling sub procedure.

0 Answers  


What are the parameters provided by QTP?

3 Answers   Ordain Solutions,


How to map the test cases to requirements in QC?

4 Answers   IBM,


If i entered 2 columns and 4 rows inputs in DDT Like Mango fruit, Banana Fruit, Brinjal Veget, Carrot Veget.. . My Q is How to get the 2nd column value for corresponding 1 column input in 3rd row ie, ( i need to get "veget" in messge box @ run time

5 Answers   CTS,


can we enable smart identification for test object

3 Answers  


suppose we recording a web based project so for that we are using internet explorer after that if we execute that script in netscape then script will execute or not and one more thing is to exeute the script in any browser what to do

2 Answers   DigiTech,


Categories