what is difference between calling a function and reusing
an action?

Answer Posted / kotike

Action and function both are using for reusable purpose.

Action is from qtp side and function is from vbscript side.

If at all any validation need to do in our application then
we go for action.Using function we cann't do any validations

Action can return more than one value using action
parameters whereas function can return only one value.

Regards,
mahi.kotike@gmail.com

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between development and testing

2998


When should I use smart identification?

835


What are the different properties of an web object

1660


What is the difference between byref and byval in qtp?

809


How to check bitmap output value?

873


can i change the runtime properties of an object ? How can i check if a parameter exists in database ?

1681


Hi All, How to Compare two strings character by character in QTP

1261


What is the extension of the qtp local repository?

770


i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api

1781


could any help me please, how to work on visual foxpro application using UFT

2045


What is Associate Repository in QTP 9.2 ?

814


What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?

2508


What are output values and why they are used ?

839


What are the types of object repositories? Which one is you are using?

892


Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?

2139