Maybe I miss some patches, but those attributes does not work with librairies loaded at run-time by LoadFunctionLibrary.
MyFunctionLibrary = "...librairies.qfl"
Set qtApp = CreateObject("QuickTest.Application")
Set qtLibraries = qtApp.Test.Settings.Resources.Libraries
qtLibraries.Count is 0
qtLibraries.Find(MyFunctionLibrary) is -1
If you are using LoadFunctionLibrary to load library files, this would not get added to Resources tab. So ideally your statement qtApp.Test.Settings.Resources.Libraries will not contain these library files. Hence you are finding the count as '0'
I try also to use the LoadFunctionLibrary.
As mentioned I use the following code to load the vbs:
LoadFunctionLibrary "D:\Backup" so this is as descriped in the help file. Only the path is given. This results in Fail.
Result shows: "LoadFunctionLibrary_path_given.png"
if i use a complete path with a name of the file at the end i got a passed in result but nothing happend. The code in the vbs is not usable and no funtion or a class is in use.
Result shows: "LoadFunctionLibrary_path_given_with_vbs.png"
I use QTP 11.00.
Has any one the same experiance or could give me a hint what's wrong.
Catch the train on rail of fasten, proven and easy solutions.
I have succesfully arranged a workflow Independent Framework for QTP like the EMOS Framework for WR