how can we call an external library file in QTP apart from
using the Executefile statement..?? is there any other way
we can call the external library file in QTP..??
Answers were Sorted based on User's Feedback
Answer / nath t
Yes we can associate the library files with out
using "Executefile" statement. But you should use AOM method
Example:
Dim qApp
Dim qLibs
Set qApp = CreateObject("QuickTest.Application")
qApp.Launch
qApp.Visible = True
qApp.Open "E:\Test1", False, False ' Open a test
Set qLibs = qtApp.Test.Settings.Resources.Libraries ' Get
the libraries collection object
qLibs.Add "C:\Utilities.vbs", 1 ' Add the library to the
collection
qApp.Test.Save
qApp.Quit
Set qLibs = Nothing
Set qApp = Nothing
First of all you have to create Quick Test object after
that open the test with the help of Quick Test Object and
also create Libraries object after that you can add ".vbs"
files.
| Is This Answer Correct ? | 5 Yes | 3 No |
Can we Script any test case with out having Object repository? or Using Object Repository is a must
what is key word driven frame work how to use keyword driven frame in QTP in a project
Explain the check points in quicktest professional (qtp)?
How to test the mandatory fields in QTP?
How to fetch web elements count from Google Page which contains letter "e"
What is the difference between keyword view and expert view?
what is vmodel?advantages and disadvantages of vmodel?
Did you find anything in your project that QTP proved inefficient to perform?
Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.
What is Object Spy in QTP?
What is Port testing. Whhen will you perform?
How do u use Database checkpoints and what are the use?