How i can use and create Library functions in QTP and what
is the proces .

Answer Posted / jay prakash

Creating library is nothing but writing some .vbs files and
assosiating it with the main script.
The .vbs files can contain the variable declaration,
functions&Procedures etc. Which (Variables and
Functions&Procedures) can be directly referred from your
QTP Scripts.

Steps are:
1. Create us .vbs files.
2. From QTP (I am talking wrt QTP 9.2) File->Settings
Select resource tab.
3. Associate the libs by browsing to the .vbs file path.

Your script is ready with the Library function. It is
benificial in the case you can use the same library for
different scripts. reusabilitu and maintainance is very
easy.

Please let me know if it satisfies your query.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does QTP record on Objects created on XWindows Environment?

1861


Explain QTP using different development techniques ?

697


How to modify the text checkpoint?

787


I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?

1931


How to connect the remote desktop using QTP 9.2 explain the method or procedure?

3016


How the exception handling can be done using quicktest professional?

740


Can we use index on view?

1829


What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.

1836


How you will rate urself in QTP in the range of 0 to 5

1943


What is data driver in qtp?

751


what type of run time errors you get while you ar edoing rpg program?

1686


How is the Bitmap checkpoint different from Image checkpoint?

813


What is the syntax to call one action in another?

756


How many scripts did you have?

1909


Explain the features and benefits of quick test pro(qtp)?

714