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

Answer Posted / jaspreet

1. Function is a feature of Vb Script whereas Action is specific to QTP.
2. Action is associated with object repository whereas Function is not associated with object repository
3. Function can have at maximum one output value whereas Action can have many outputs.
4. Functions is just logical instructions which are not associated with objects whereas Action is associated with objects

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John

2247


What is difference between shared and local object repository?

674


Can you write a script to check if the folder exists or not?

603


For which type of project the iterative model is suitable?

1456


In the website, the protocol has been changed http: to https what you will do? Tell me your approach?

653






can test automation improve test effectiveness?

1586


How can we conduct U-I Testing by using QTP??????

1522


In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field and so on. how we can handle this scenerio thru Descriptive programming?

1543


How to test the login page in different ways in automation testing and i need code?

1442


Hi, Can we open a test in qtp10 which is saved in qtp 9.2?

1538


When using descriptive programming?

730


how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer

1532


We stored into the objects OR and then write the scripting

1631


Give me some real time point of way where exactly we can conduct audits?

1586


1. wat are the main diff b/w QTP 8.0 AND QTP 9.2 ( not user interface) 2. wat is the meaning of Keyword in keyword driven frame work? 3. how u will handle the unknown errors while exucution. (not recovery scenario)

1842