NonComVisibleBaseClass exception

Dec 20, 2010 at 1:13 PM

I have created a win forms project in .NET 2.0. The form only shows one button and one textbox.

On both I fetch the instance by call of generic method window.Get + automation id. I get the instance of button, but the call by textbox automation id throws an exception "NonComVisibleBaseClass".

What's wrong?

 

Thx, dirk

Dec 20, 2010 at 4:06 PM

ok...is the problem by debugging of test.

Dec 22, 2010 at 8:15 AM

Hi

 

have had the same problem, in Visual Studio I have disabled this Exception during debug.

 

Throndorin