I've created a custom class and I'm trying to reference it within my testcase but when the code executes I receive the error "Type mismatch -- Expecting a Window"
Any ideas or suggestions????
yea when you create a custom class and instatiate it, you assign it to an object of type window.
Assume you created a class Called 'Contact' you would insantiate like the following and then call its method
</font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">[ ] type Contact is WINDOW
[-] testcase cnt_006()
[ ] Contact objContact = Contact()
[ ] objContact.AddContact() //call methods like this </pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">
Post your code! Your class and a snippet of code where your calling it.
Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac.