Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
Using Library files Run time in QTP

Using Library files Run time in QTP

Ratings: (0)|Views: 1,006|Likes:
Published by api-19840982

More info:

Published by: api-19840982 on Nov 30, 2009
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less





Using Library files in QTP
This document demonstrates on who to use Library files in QTP
Library files:

Library file is nothing but a VB script file containing code in VB Script format. Library
files in QTP are used to declare functions that are needed to be used across
actions. There are two ways to load a Library file in to your test:

1. Specify the Library file in the settings of the script
Create the VB Script file that you need and save to your PC
In QTP go to Test->Settings\u2026 Menu as shown in the image below
Go to the Resources tab of the Test Settings window and Click on \u201c+\u201d button. A
new line in the list box will appear
Click on \u201c\u2026\u201d button to choose the location of the file

If you specify 2 or more library having a function with same name then QTP will execute the one that comes first i.e. by looking at the order you specify the files. There is no need to specify an order for dependent library file Ex- if file2 uses functions defined in file1 then it is not necessary to specify file1 above file2 any order will work fine.

Click on the \u201cCheck Syntax\u201d button to verify that the script is a valid one

Activity (15)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Nadeem Sayed liked this
minemotorola liked this
omjsr liked this
Vimakar Raj liked this
minemotorola liked this
Raj Vutuir liked this
agwadeyar liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->