wht is the difference between action and functio?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
How to connect to data base?
how do you configure QTP AND Test director?
Write a script to verify font style and color of a windows object using descriptive programming
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
what is meant by "Parameterization technique"?
Which object model is not supported by QTP? a)COM b)DECOM c)DOM d)DCOM. Pls explain about theese object models?
What is diffrence between Global variables and Environment variables...Anybody can give me answer..Thanks in advance..
How to get line numbers in your editor in expert view?
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?
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?
What is Environment Variable and when we apply this in QTP?
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?