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 are the types of Object Repository’s in QTP?
Both static and dynamic arrays are handled by the vb script. Is it true?
What is the difference between "Call to copy of action", "Call to existing action" & "Call to winrunner action"?
Explain the concept of how quicktest professional (qtp) identifies object?
What is test object model in QTP ?
what is the silent mode in WR?
i have written some lines of code today..tommorow some lines of code deleted in middle of that code..how to handle this type of script
does qtp need record and playback in realtime. plz tell exactly wat happens
is it possible to operate(on/off)the capslock using qtp
If a script has a local repository and also uses a shared repository, which repository will QTP use first when searching for an object during playback?
Hello friends..... On which areas of an application we can not test with QTP
0 Answers Thatavarti Technologies,
what are SetToProperty, SetROProperty,GetToproperty scripting?