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

explain structured testing? plz guys with exp. do answer

1403


Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers

1567


When do go for loop condition in test?

653


How to attach a file to TD?

644


How you debug your script?

558






Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.

3002


Explain the differences between table and db checkpoints?

569


How is a Step generator used in UFT?

648


Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.

2884


Hi, how can we check or avoid the memory leakage in QTP9.2?

1696


How to connect the remote desktop using QTP 9.2 explain the method or procedure?

2791


How to find the difference between 2 dates in qtp?

572


What is an optional step in qtp ?

628


I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, if possible, kinldy mail PDF file to my mail-ID: ramakrishna908@gmail.com Regards, krishna.

1462


What is expert view and keyword view?

621