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
What are the different types of checkpoints?
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?
Can we record an application running on a remote machine using qtp?
hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com
How would you export a script from one pc to another in qtp?
Did QTP prove efficient for your project? Yes or No, explain?
how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link
Explain the concept of object repository?
What is keyword view in qtp?
HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.
Mention the test steps of qtp.
What is test object model in quicktest professional (qtp)?
hi in real time who will execute the qtp test scripts? my faculty said, in a companty automation testers are written the test scripts and manual testers are execute the test scripts...IS IT RIGHT OR NOT?
Where we use data driver in qtp?