NonComVisibleBaseClass exception

Dec 20, 2010 at 12: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 3:06 PM the problem by debugging of test.

Dec 22, 2010 at 7:15 AM



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