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 |
What is diff between SDLC AND STLC?
Explain script generated at the time of setting runtime property?
What do you do if QTP doesn't recognize object ,what action should be taken
Create flight reservation login descriptive programing (Condition: Remove the value and substitute with a variable, and then call the validation from Excel) Plz help me....... very urgent.........
recording is not a good programming practice.How to write effective script without recording.Which is the correct method explain in detail
When you are running a batch test of 5 scripts and in 2nd script appln crashed, what hpns then?
How you perform smoke and sanity testing using qtp?
What is the DIFF Between PROJECT AND PRODUCT?When Company will need Product?
Brief the process of testing with UFT?
What is text check point and text area check point?
How can we parameterize our test, values in flat file. Ex:- Values in notepad, with that values i want to parameterize the test.
Can anyone explain about Keyword driven framework in detail and how to use it in case of any project