Hi PLZ explain User Defined Functions in QTP with eample?

Answer Posted / narendra

User defined function is a peice of code/program which
intended to perform some specific task.
e.g if i want to create 100 user id's and i can use each id
to create a profile. To avaoid duplication of ID's we can
write a function (.vbs extension) which generate ID's based
on system date and time so all the ID's will unique. After
that we need to add that function into resources tab in QTP
and can call that function using a single line statement
as ...call <functionname>(arguments, if any)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.

1685


what type of framework u r using in ur organization

1646


Explain the checkpoint in qtp?

590


hou can we use vb script in qtp could u tell me breafly

1734


How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)

1524






How to explain a banking project in interview as a test engineer???

2593


What are the types of object repositories? Which one is you are using?

628


What is checkpoints for quicktest professional (qtp)?

573


On what document base Descriptive programming is written if build is not yet ready ?

873


Tell some commonly used Excel VBA functions?

594


What are the ordinal identifiers in web page?

636


How is UFT 11.5 version different from UFT 12.0?

604


When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.

1601


Is qtp supports uni-code?

610


What are the benefits of qtp?

550