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

How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?

920


The structure of keyword driven frame work is like a folder structure the different sub folder are 1-functional libray folder 2-object repository folder 3- database folder 4-appliction1.xls 5-initalzation vbs file 6-sequence file 7-driver script 8-test case list file My question is whether these are in a local server machine or in our pc.((whether It like Vss). can u give example of driver script(code)

3026


How many ways is to parameterize the value?

843


What are the Application Functions available in QTP?

1734


What is the difference between qtp and selenium?

773


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.

3119


can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process

1506


hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)

1625


Why is action split used by qtp?

762


What contains Data Driven Framework document in qtp?

1670


How to test login module with different username and password by using data driven testing in QTP?

837


What is the limitation to XML Checkpoints?

1842


How you create new action in qtp?

821


Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.

2622


After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans

1917