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 u will describe testing activities?
How to differentiate the webedit field like user name and password? Please tell any other best answer is ther
How we can test a Frame in a web page?
QTP in mumbai
Can we add the function library directly from scripting in qtp instead of adding from resource tab?
How many test scripts are prapare in ur project(HeathCare Insurance).
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
We have 10 page.In first page we 2 popup and next page we 3 popup window......(windows name is different)how can we handle the all the popups without using recovery scenario
In google i'm going to search something like "rose", i usually get 10 results in the first page and in 2nd page 10 results and in 3rd 10 results so on upto 10th page 10 results. so if i want to open all the 10 pages 10 results i.e., 100 results and close..what is the DP for this? pls can anyone answer my Question..PLZZZZZ...
How to Close all browsers in reverse order.
Currently i have designed my script based on the test cases present in Quality Center. I want to run my script from quality center. Can anyone help me to get the code which will connect QTP with Quality Center and execute the test cases?
What is the difference between two actions?