How do we call Library Files(.vbs) in the Test Script
Thanks in Advance...
Answer Posted / uday
Associating a function library can be done in many ways.
Putting all the above valid answers here.
1. Open QTP -> Click on File menu -> Settings -> Resource ->
Choose the file path of the function library.
(Manual way of associating a function library)
2. ExecuteFile "FilePath".
If you use in an action, then the functions in function
library are available on that action only, other actions
cannot access the functions in function library.
Another disadvantage is, the function pointer will not go
into the function library when you debug the script.
3. LoadFunctionLibrary(From QTP 11), which will load the
function library at run-time.
4. Using AOM.
Thanks,
Uday
http://qtpftvideos.blogspot.com/
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Hai anyone please "Explain about Framework in QTP?"
What test you perform mostly? Regression or retesting in your testing process?
What is output value? How many types of output values are there in qtp?
How to analyzing test results using quicktest professional?
how to test use the quality control .how to verify the image verification
I would like to directly import XL file and work on that XL file directly in QTp script in that XL sheet need to allocate workbench,XL sheet and generate two bar graphs automatically how to do that? plz let me know any answers?
I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...
Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)
What is QTP’s model for test creation?
How to run a test using quicktest professional (qtp)?
What are the properties you would use for identifying a browser and page when using descriptive programming?
Can any give an example(if possible templates) how to test web application using QTP. thanks in advance
what is run-time data?
What is QTP scenario.
Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?