How i can use and create Library functions in QTP and what
is the proces .
Answers were Sorted based on User's Feedback
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 |
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 |
what testplan contents and what test strategy contents,what is the diff b/w them
what is the use of VIRTUAL OBJECTS? explain ?
10 Answers ABC Infotech, IBM, TCS,
if anyone has idea of the interview procedure in covansys, plz send me a mail?
How to find a window is minimized or not
give the code to count child objects (Total) in the page
does qtp runs on internet explorer 7.0
where we save the scripts created in one project?
take one example and write vbscript on one web application in qtp? explian descriptive programe with one example?
Why we are going for descriptive programming ? I answered as 'If objects are not present in OR we will go for descriptive Programming'? Is this correct ?
What is an environment variable?
If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?
what is the difference between window command and dialog command