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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / krishnateja muppalla

Library functions are nothing but reusable functions. You can create all reusable functions in a library (.vbs file) based on your project requirement. When ever you want particular function, you can call from current script.

Associating library function to our mail script you can see from above answer.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?

0 Answers  


Can you expect major bugs in Net banking Application?

1 Answers  


how to retreive the xml file data through qtp.can anybody send script for this..

1 Answers   Synechron,


request to add whatsapp grp for test engineer

1 Answers  


What is the difference between Image Checkpoint and Bitmap Checkpoint?

8 Answers  


How to take screenshots in qtp?

2 Answers   Sonata,


What is Distributed testing? How does UFT support it?

0 Answers  


Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri

0 Answers  


Lets say,flipkart website...in search button we have entered category[i.e watches] it displays some items...question is how to test price displayed each product is correct or not through qtp

1 Answers   Cap Gemini,


What is log file? what is the use of Log fine. How to create? what are the contents and the main advantages of log files. plz do help me in this concepts as i have an interivew on qtp in a couple of days. plz do help me.. thanks in Advance.

1 Answers  


what is framework and types of framework? Need of framework in automation? write folder strucuture of framework.

3 Answers   HealthAsyst,


How do you return a value from a function

1 Answers  


Categories