What is the difference between functions and actions in

QTP?

Answer Posted / buvan

Action can contain Object Repositary, Data Table and Active
Screen etc....

Function doesn't have these features

Action is Internal to QTP

Function is Just Lines of code.

Action Can/Can't be Resuable

Functions are always Resuable

Action Paramenter have default values

Function don't have any default value

Action parameter type are ByValue

Functions can be passed ByRef

Action can have multiple returning values

Function can return only single value

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to check which add-ins are associated with a test in qtp?

819


What is the use of text output value in quicktest professional (qtp)?

799


What is checking bitmaps?

772


When you open QTP, how many sheets you can see?

844


what testplan contents and what test strategy contents,what is the diff b/w them

1860


What is the quicktest professional testing process?

802


What are the 3 main stages involved in testing with qtp?

812


How to use Environment parameterization? Explain with an example.

1715


How to find operating system information using the qtp script?

808


What are the general steps involved in the data driven framework?

760


What are some test assets and related extensions of qtp?

769


Key word driven framework

1900


What are the different types of recording modes?

729


There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?

1818


What is the quicktest professional (qtp) testing process?

753