Al I want to get How to get loaded libraries in a test
and I am suing below code but msgbox shows nothing..
I am calling libraries from settings not within code.
I look serious because I am serious.
If a library is associated to the test, you can get the name using QTP AOM. as below
<font class="small">Code:</font><hr /><pre>
Set qtApp = CreateObject("QuickTest.Application")
For Each Lib in qtApp.Test.Settings.Resources.Libraries
But if a library is loaded at runtime using ExecuteFile "Lib.vbs"
I don't see there is a direct way to get the lib name. You could create a dummy object in each lib and try if those exists using IsObject(dummyObj) or so.