What is the exact difference bet function and action in QTP
Anybody can explain it in detail..Thanks in advance..

Answer Posted / sreekanth

Action -> Action is nothing but a script written for certain
function point .
Action types ; Non-reusable , reusable , external
Action may return multiple values .
Action requires its own object repository( requires objects)
Actions concept i restricted to QTP only ..

Function -> it consists of Set of statements written to
achieve a particular task.
Function returns one value.
Functions concept is used all programming
languages,scripting languages.

Types of functions in QTP->Built in ,Local Script,Library
functions.
WIthout using objects Functions can be written ( in
descriptive programming )

Is This Answer Correct ?    12 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

after click on compose mail how can we attached a file in qtp with vbscript code

1607


How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.

1797


How to data driven test for Win objects in QTP ?

1466


Give the syntax to import/export xls into qtp.

579


Have you used xml check point in your project? How?

538






How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?

606


How to open a new test using quicktest professional?

560


Which recording modes need more memory?

571


what is the difference between development and testing

2352


How to add object to object repository in qtp9.0 Suppose for brower yahoo home page

1421


how to create flat file datasubmission in qtp

1894


Explain the difference between call to action and copy action?

510


What is the Difference between copy to action and call to action?

574


How will you report the bug and explain the defect tracking sheet you handled?

2535


Explain features of the latest version of qtp/ uft 12.1?

591