Class not seen in library
I do all of this in an action.
'Define functions and properties
Set AB = new MyClass
Set AB = Nothing
' Cool -- The value of AB is displayed all is well in QTP land.
Now I move the class to a library.
I make it a resource.
Run the script.
QTP says that it cannot see the class
I get it to work by putting the Set AB = new MyClass inside of a function which is inside of the library.
The Action calls the function that calls the "Set AB = new MyClass" Then it works.
is something wrong with QTP 11? Why cant it find the class in the library file?
Has this been improved in UFT 11.5x, 12? Is it supposed to be working this way?