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

write a qtp code to count the number of child objects in login page and highlight it

2 Answers  


can any one tell me what is process metrics and what is product metrics if possible give me example. Thank You

2 Answers  


Print the Prime numbers in below format only up to 20(Need commas also) 1,2,3,5,7,9,11,13,17,19

0 Answers   Value Labs,


what is virtual object?

2 Answers  


what is action in QTP?

1 Answers   Infosys,






If I change the object name in one action will it be updated in all the actions? Or not?

0 Answers  


Scenario:2 combo boxes.1st combo contains a,b,c,d.2nd combo contains 10..20,20..30,30..40,.Selecting 'a' shld display 10...20,'b' shld display 20..30.. and so on.tell d script? 2.Random testing of 500 test cases in qtp?

1 Answers  


Pls let me know how to find out creation time and index for the web application in descriptive programming?

2 Answers   HP,


what are the disadvantages in QTP 9.2?

1 Answers  


give me the code to save all messages of inbox of gmail into a folder and notepad

0 Answers   Infosys,


how do we add a new sheet to data table in QTP?

7 Answers   TCS, Wipro,


What is the short cut keys for the following?

0 Answers  


Categories