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

Hi, I will provide perticular age,it needs to enter date in text box (MM/DD/YYYY) compare to system date. or already exist data in the text box.

2 Answers   Virtusa,


How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.

0 Answers   TCS,


Pls can anybody send me the Recent Technical and Interview Questions Which were asked in IBM(QTP)Automation PLZZZZZZZZZ

0 Answers   IBM,


Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.

0 Answers  


How to retrieve the property of an object in QTP?

5 Answers  






Is it possible to return multiple values from a function..? Then how..?

3 Answers  


regular expression

2 Answers   Wipro,


How QTP integrate with application?

1 Answers  


What is driver script and driver script in qtp frame work????

6 Answers   IBM,


Hi all. Could anyone tell me the difference between an Action and a Function in QTP. Thanks in advance and Merry Christmas.

3 Answers   IBM,


Hi I am working with QTP.If I want to write a certification exams,Which one is the best one suggest me friends!!

2 Answers  


How to watch currnet value of an object like OK buton or edit box with "Agent Name:" label. in watch expression tab?

2 Answers   Cap Gemini,


Categories