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

I want to do QTP Certification what is the pattern of Question paper.

1745


How to modify object property in qtp ?

563


How to replay a script in qtp?

612


What is qtp window?

566


hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....

2435






how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.

1320


Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

1563


What is throw Object?

1558


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

2267


what is clean sweep?

1515


how to idetfy which test cases are automated?who will deside that plz tell me

1538


What are the factors on which script execution time is dependent?

608


How to check feasibility of the appliction?in automation testing?

1474


How to call a test from another test?

682


Why script error occur in between recording in qtp?

1766