Hi all.
Could anyone tell me the difference between an Action and a
Function in QTP.
Thanks in advance and Merry Christmas.

Answers were Sorted based on User's Feedback



Hi all. Could anyone tell me the difference between an Action and a Function in QTP. Thanks in a..

Answer / xyz

Action : 1.when u want to use object repository facility
we go for action,(means when the appliction contains
objects witch recognied by QTP ) go for Actions is nothing
but mouse moments it will generate the script automatically

2. it will returns more than one out put values.


Functions : 1 when the objects witch r not recognised by
QTP we go for functions(means discriptive program in that
those objects is not stored under objectrepository)

2. it will returns only one out put value.

Is This Answer Correct ?    1 Yes 0 No

Hi all. Could anyone tell me the difference between an Action and a Function in QTP. Thanks in a..

Answer / vinod

Action will be used when there is alink with the object
repository.
function will be used when there is no link with the object
repository

Is This Answer Correct ?    2 Yes 1 No

Hi all. Could anyone tell me the difference between an Action and a Function in QTP. Thanks in a..

Answer / pava

we can write the functions using descriptive progamming

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

suppose by navigation i went from 1st page to 5th page write a script for coming from any page to the 1st page abd by executing where the page may be . it will come to 1st page give the code using gmail. give me mail id so that i can under this answer with out any doubt

1 Answers  


How to write script to display a message box having the "Date" value of the fourth mail(yahoo account). I've tried it with the web table concept but the content doesn't get displayed? Please help me out to resolve this :-)

2 Answers  


Can a function return a dictionary object?

2 Answers   CG, Semantic Space,


how you test broken link using the automated tool QTP ?

4 Answers   Oracle,


In descriptive programming how we know the properties of the objects, if application is not developed and the prototype of the application is also not developed.

1 Answers  






how you update scripts in qtp?

1 Answers  


how can i call an external action,which is not added external action of an action?

2 Answers   Ordain Solutions,


How to delete an object from the object repository?

0 Answers  


we have 10 more actions in our test and we are using exit action command to come out from the action if any error s occured.In action 1 if any error occurs control is moving to second action but if we get error in second action exitaction is throwing general run error. Please give a idea to overcome .

1 Answers   TCS,


Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??

0 Answers  


write a script to verify the image path(src property) of the images which are in web pages.(do it by Descriptive method by creating a description object)

1 Answers  


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.

1 Answers  


Categories