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

Answer Posted / raman verma

1.FUNCTION WILL RETURN ONLY SINGLE VALUE BUT ACTION CAN
RETURN MORE THAN ONE VALUE.
2.ACTIONS CAN USE IN OTHER ACTION AS FUNCTIONS BUT WHEN WE
COPY THE ACTION IN OTHER ACTION AND EDIT THAT ACTION ...iT
WILL EFFECT THE MAIN FUNCTION BUT FUNCTION CANT.
3. ACTION IS OBJECT REPOSITORY ABUT FUNCTION DONY

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do you parameterize search button from the website? the page is a single winobject and i have made a virtual object button of search button but search box can't be converted into a winedit and if we try to convert it into winedit the value we enter in a searchbox appears as numbers in the script so we arent able to parameterize.help!!!

1834


Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?

1577


Give me At Least 5 Differences between DOCUMENTATION OBJECT MODEL(DOM)and COMPONENT OBJECT MODEL(COM)? Interviewer said me to WRITE the difference only in points not as you WRITE a paragraph ???? only in points

1739


In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail

1603


what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?

1467






what is the difference between built-i function and In-built function?

1730


how to explain a claims and insurance project?

1858


What is difference between Recording time object identification and Run time (Execution) time.

1102


Why is Client side image is preferred over server side image?

1544


Explain calling sub procedure.

713


Discuss quicktest professional (qtp) environment?

665


what is stepin & stepout?

1511


What is the use of an object spy tool in qtp?

641


Suggest and Define a solution for an application whose objects are not recognized by UFT?

770


Write a QTP script to enter a keyword in to Google search engine?

748