Founder's blog

WatiN tests fail with COMExceptions and other errors? Fix

Jun 7 2014 :: by Alex
Another post for developers reading this blog. If you think these posts do not belong here, please leave a comment, and I'll consider moving my development articles to a separate blog.

If your WatiN tests started failing, the "ContainsText" property always returns "false", you get System.Runtime.InteropServices.COMException when running tests - one fix would be to run Visual Studio as Adminstrator.

Another - to enable the protected mode for local-sites:

'WatiN tests fail with COMExceptions and other errors? Fix' was written by Alex by Alex. CEO, founder