wht is the difference between action and functio?

Answers were Sorted based on User's Feedback



wht is the difference between action and functio?..

Answer / santosh182

1)function gives only one output value

action gives more o\p values
but functns are vry consistency than actions

Is This Answer Correct ?    2 Yes 0 No

wht is the difference between action and functio?..

Answer / lak

Functions :
1) Functions are generic to VB Scripting
2) We can use Functions anywhere outside of QTP that
supports VB Scripting
3) Functions doesn't require object repository
4) Functions returns only one value

Re-Usable Actions :
1) Re-usable actions are specific to QTP
2) We can't use Re-usable actions outside of QTP
3) We can associate object repository to re-usable actions
4) Re-usable actions returns many values

Is This Answer Correct ?    0 Yes 0 No

wht is the difference between action and functio?..

Answer / kashif

Adding something more:

Action in QTP uses their own Object Repository, Datatable
and they can be reusable in another action.

whereas
Function does not use object repository and datatable.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

How to connect to data base?

2 Answers  


how do you configure QTP AND Test director?

1 Answers   Satyam, TCS, VB,


Write a script to verify font style and color of a windows object using descriptive programming

0 Answers  


Hi,can anyone tell me How to found the number of 1's and 2's in the given format 1,1,2,2,3,3,4,2 using vbscript Thanks in advance

3 Answers  


what is meant by "Parameterization technique"?

4 Answers   KH, Mind Tree,






Which object model is not supported by QTP? a)COM b)DECOM c)DOM d)DCOM. Pls explain about theese object models?

1 Answers  


What is diffrence between Global variables and Environment variables...Anybody can give me answer..Thanks in advance..

3 Answers   IBM,


How to get line numbers in your editor in expert view?

1 Answers  


I have written some scripts in QTP by using older version, but I want to run them in latest version. Is there any process to do that.If so can anyone explain me?

1 Answers  


In my application there is a billing thru credit card. how to validate the credit card details(min balance,credit card no,card holder name).if these details are valid then only that booking will be done.how to validate these details thru automation or manual?

1 Answers  


What is Environment Variable and when we apply this in QTP?

4 Answers  


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  


Categories