WatiN and COM Errors: Enable IE Protected Mode for Local Intranet Zone

When we first started building up our web test suite using Watin, we quickly started getting this error: System.Runtime.InteropServices.COMException : The interface is unknown.System.Runtime.InteropServices.COMException : The interface is unknown. If you tell IE to use Protected Mode even for Local Intranet sites, these errors don’t happen. We weren’t the first to have this problem. The […]

File Upload Testing in IE8 with WatiN

A .NET MVC application we’re currently working on contains a feature involving image uploads. We’ve had an excellent experience so far using WatiN and SpecFlow together for system testing, but testing file uploads always adds an extra degree of complication. This was no exception, but I’m quite pleased with the outcome. The first hurdle I […]