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

How many types of recording modes in qtp? Describe each type with an example where we use them?

615


Define Error Pane of UFT?

692


how to acess a test in RSA?

1671


I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?

599


Dear sir, i want to perform a QTP automated testing for mechancial engineering software like msc adams, msc nastran this softwares will help for mechanical engineering design analysis>> i know oad runner win runner, test director, QTp>> but i dont know how to use for automation

1585






in a web page How to check and display a particular word from a paragraph?

2041


How to find the path of folder in which the test is saved in qtp?

534


in a web page hoe to check the dynamic links that rechabging with out using regular expressions

1781


In qtp, how you can exit for loop?

527


How to modify object property in qtp ?

565


What is the significance of “action 0” in qtp?

572


How to use output values in qtp ?

554


How to capture all the data of a webtable, weblist and combolist using QTP?

2854


What are the different kinds of test steps?

573


what is the hierarchy to use properties in descriptive programming

1503