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

What are the data types in qtp?

668


How many types of recording facility are available in quicktest professional?

566


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

1514


How software tester can use constants and variables in scripts?

1688


i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api

1494






What do you mean by checkpoints in qtp?

562


What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?

573


Is it possible to change the values of analog recording?

576


Explain hybrid framework with advantages and disadvantages?

543


What are the methods used in UFT to handle exceptions or run-time errors?

650


What is qtpro?

597


What is the difference between Keyword Driven test and Data Driven test?

1773


How to create a standard checkpoint ?

559


Your roles and responsibilities and daily tasks? (As automation tester)

2582


i have a doubt can anyone tell me where are scripts stored while using QTP.Tell me the exact procedure takes place in real time?like how we call scripts how to proceed after writing scripts?how scripts are executed etc?i heard some use Qc whether others dont use.so tell me whole procedure for both the things it will be a very big help.as i have interview i want to have whole idea on this.its very urgent.

1382