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

in a web page hoe to check the dynamic links that rechabging with out using regular expressions

1787


What is different command used in command Prompt while using QTP?

1754


Which scripting language used by quicktest professional?

542


What is the meaning Work bench?

1772


what type of automation is follwed in the project?

1493






what is the advantages and disadvantages of using functions instead of re usable actions

1439


Why qtp always start action1 and does not start action?

613


What is checkpoint in qtp?

560


Hi Sudhananda, plz send me the QTP framework with any diagram and PPTS . I want to switch to automatio, I done QTP from professional person, but he does not give me his knowledge properly. so pls help me Thaks send me on following address mirajkar.akash@gmail.com

1878


I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that

1404


Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in

1608


How do we analyze the checkpoint results?

594


What are table and db checkpoints?

592


what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?

1455


How QTP support all types of applications (platforms)?

4085