How do I add the user defined function in the Repository in QTP and call it in the script ?
I would appreciate if somebody could provide me with an example
You need to save the Function as an external .vbs file. Then go to Test > Settings > Resources and add the file as a Library file.
My linkedIn Profile
Is there a way to save the functions in the single Repository in QTP instead of adding them as the Library file for each script ?
Search in help for "Defining Resource Settings for Your Test". That will explain how to set the default.
If you're a slave to your free associations, does it automatically become something else?