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
Explain about Test Fusion Report of QTP?
What are the Disadvantages of shared object repository?
How to use conditional loops in qtp ?
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?
Approach for Installation,comaptibility,system testing
While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?
Which scripting language used by quicktest professional?
What are the general steps involved in the data driven framework?
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?
iam have done mba(finance)in 2008. in 2008 one reputed consultancy came off campus interview our institution. i got job as "manual test engineer". now iam working as "manual testing engineer". now my problem is when iam going interview the interviewer asking like " ur mba gradute how can u get job in test engineer." this question i have faced every interview. iam explaining how iam getting job. but they are not trust me". pls tell me answer how i am giving relavent ans.. this is my mail id y.ramana84@gmail.com
How to handle the exceptions using recovery secnario manager in quicktest professional?
How can i check items sorted or not in a weblist ? Give me the script for this...
Explain the concept of how quicktest professional identifies object?
Differences between text and test area checkpoints?
Which features or drawbacks of QTP lead to the upgrade for a newer version?