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 |
Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?
Can you expect major bugs in Net banking Application?
how to retreive the xml file data through qtp.can anybody send script for this..
request to add whatsapp grp for test engineer
What is the difference between Image Checkpoint and Bitmap Checkpoint?
How to take screenshots in qtp?
What is Distributed testing? How does UFT support it?
Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri
Lets say,flipkart website...in search button we have entered category[i.e watches] it displays some items...question is how to test price displayed each product is correct or not through qtp
What is log file? what is the use of Log fine. How to create? what are the contents and the main advantages of log files. plz do help me in this concepts as i have an interivew on qtp in a couple of days. plz do help me.. thanks in Advance.
what is framework and types of framework? Need of framework in automation? write folder strucuture of framework.
How do you return a value from a function