NonComVisibleBaseClass was detected

Oct 21, 2010 at 11:16 AM


I have something unknown about White. White is used for GUI-Test and GUI-Test should be only

running in foreground. If the widget in GUI is not found in foreground, although it is in desktop,

the test will be disturbt. But this makes my test not so stabil, because e.g. the visiblity of widget is

dependent on the size of window. I want to ask whether I understand correctly about GUI-Autotest.

Sometimes, "NonComVisibleBaseClass was detected" displays and the test can run further by debug(F5)

after it stops here. Why?



Oct 21, 2010 at 11:22 AM

"NonComVisibleBaseClass was detected" is poped up only by running my test application as Console Application. But when I use NUnit,

there is no problem.

Mar 12, 2012 at 11:09 PM

You can also disable these exceptions from being thrown by going to Debug -> Exceptions -> Managed Debugging Assistants