What is User defined function in QTP

Answer Posted / arun

User defined function is nothing but we write our own
functions to perform set of action which contains a login to
execute some steps on the application without making use of
inbuilt qtp functions or which contain full logical code by us.

For. Eg:
If you need to do some arithmetical operation and just
return the value to some object (textbox) or some thing
else. Then write a funcion on ur own and pass the value to
do the operation and that's it.

Similary if u want to do some event handling like check,
click, select object, do some decission making etc. based on
return value u can make use of functions effectively.

Hope ur got the answer.

Thanks & Regards

Arun*
BOSTON, USA

Is This Answer Correct ?    9 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks

1412


Explain the difference between check point and output value?

494


Is virtual object supported in low level recording mode?

623


Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance

1740


I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible

1447






what is the difference between development and testing

2384


www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example

1502


Can anyone pls tell me how to do action parameterization (input and output parameters) with respect to login window and insert order of flight reservation window in detail( pls give a clear step by step explanation with example) anyone please. Will be very thankful to u

1377


Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com

1416


How can get count of list box?

635


Tell me about your project? please help me how to tell about insurance project

1533


How to test results for qtp ?

787


What are the different properties of an web object

1428


what is test scheduleling?

2013


what is the latest version of QTP? Main difference between 9.2 and 10 version

1548