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 to find Operating system information using QTP script?

565


Diff b/w test scenario's and test Procedures?

1618


what is error and fault in terms of software quality?

1499


Explain the qtp test phases.

609


how can i pass a "cript"as a parameter in to a function

1452






What is the basic concept of quicktest professional (qtp)?

569


Plz Explain AUTOMATION REFERENCE MODEL?

1679


Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.

1383


How does quicktest professional (qtp) identifies the object in the application?

575


can u please explain what is the exact difference between qtp8.2 and 9.0

1675


Does quicktest professional (qtp) is unicode compatible?

532


When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti

2480


How to analyzing the checpoint results?

510


Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?

1480


How to test login module with different username and password by using data driven testing in QTP?

598