what is difference between calling a function and reusing
an action?



what is difference between calling a function and reusing an action?..

Answer / kotike

Action and function both are using for reusable purpose.

Action is from qtp side and function is from vbscript side.

If at all any validation need to do in our application then
we go for action.Using function we cann't do any validations

Action can return more than one value using action
parameters whereas function can return only one value.

Regards,
mahi.kotike@gmail.com

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More QTP Interview Questions

Whether it is possible to test the adobe's controls like zoom, resize, save etc using QTP...If yes, how u can do the same?

1 Answers  


anyone can explain Diff B/w Actions and Functions

2 Answers  


What is chaild object method? When we will go for chaild object method? How to use chaild object method?

2 Answers  


the question was on what techonlogy u been working on i said VB then he asked me the addin for VB in Qtp?

4 Answers   BirlaSoft,


Can we record a video in qtp recording??

1 Answers   BirlaSoft,






Hi How to retrieve data from web element line by line?

0 Answers  


How to catch the TOol Tip Dyanamically changing values using the qtp script by Descriptive Programming Scenario: ======== 1. when i press the submit button 2. The Tool tip first shows the value "Validating...." 3. Next the value is changed in tooltip "Logging....." ------ And the class is webElement SO , how can i catch both values During Run time using Dp

1 Answers  


How Qtp will identifies object during run time

6 Answers   CSS Corp, Yahoo,


Through array we can execute the testcase how ? give me example

0 Answers   TCS,


In key word driven framework,we will rename the logical names of objects,why?

3 Answers   Liquid Hub,


For Passing Parameters from one Action to another Action we will use Input & Output parameters. Can any one tell how to use this Input & Output parameters with Example ?

2 Answers   TCS,


Why bpt?

0 Answers  


Categories