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
What are the data types in qtp?
How many types of recording facility are available in quicktest professional?
what type of run time errors you get while you ar edoing rpg program?
How software tester can use constants and variables in scripts?
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
What do you mean by checkpoints in qtp?
What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?
Is it possible to change the values of analog recording?
Explain hybrid framework with advantages and disadvantages?
What are the methods used in UFT to handle exceptions or run-time errors?
What is qtpro?
What is the difference between Keyword Driven test and Data Driven test?
How to create a standard checkpoint ?
Your roles and responsibilities and daily tasks? (As automation tester)
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.