Associate Function Libraries to a Test in QTP 9.2

Associating function libraries to a test in QTP is with respect to user defined functions which means either you or some one else are the owners of the functions and have rights to manage those functions. When it comes to writing scripts and running the test and that too in a frame work architecture every script is converted in to a function and relevant functions are called into the test script.

Functions in this context is the user defined and associating the function libraries to a test in QTP is by the two mentioned methods.


1. Using the feature of QTP
2. Using a Script.
Using the feature of QTP

In order to associate a function library using the feature of QTP we need to navigate to the desired feature of the QTP
File -> Settings -> Resources


To associate a function library you need to click the + sign which is for adding function library files from external location.

Viewing the Associate Function

In order to view the associated function library for the test you need to navigate in this manner

Resources -> Associated Library Functions


You can see the associated function which you have just now added to the test.

4 comments:

RP Singh said...

nice..........

Unknown said...

really it was very helping for me...thnx

Anil said...

Good Explanation

Ridhima said...


All are saying the same thing repeatedly, but in your blog I had a chance to get some useful and unique information, I love your writing style very much, I would like to suggest your blog in my dude circle, so keep on updates.


Java training in Adyar

Post a Comment

/* Tynt Insight tracker ----------------------------------------------- */