Please help! Many thanks
We have 1 class called MyClass in library.
>From main function, when I try to reference to that class



DoB()
Dim myObj
Set myObj = New MyClass

then Quick test throws error undefined variable MyClass.  
However I can see the message "DoB" popup. 
I moved the class to Main then I don't have problem any more.
We have a hundred of classes and cannot put all of them in 1 file.
Please share the solution.




'Codes in file myLib.qfl

Function DoB
        msgBox ( "DoB")
end Function 

Class MyClass

        ' has some properties
        ' has some sub ...
        
        public function DoA
        
        end function
        


End Class


      

-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Reply via email to