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

Describe function procedure in vbscript.

810


What are the steps involved in the recovery scenario wizard?

786


what is impact analysis on regression testing?

2237


What are the types of data tables in qtp?

767


How you will rate urself in QTP in the range of 0 to 5

1952


What are the different types of action?

749


How to use the object spy in quicktest professional 8.0 version?

756


How do you send email with attachment from outlook using qtp ?

766


What is the meaning Work bench?

1965


Hybrid framework supports Descriptive programming. Is it true?

872


What is difference between design time and run time data table?

822


Explain calling sub procedure.

834


What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.

1719


Explain the concept of how quicktest professional identifies object?

738


An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?

870