Hello,
there was an IE update during the weekend and after that I'm getting an error during a simple operation:
WatiN.Core.Frame wrkspace = ie.Frame(WatiN.Core.Find.ById("workSpace"));
The error I'm getting is:
System.InvalidCastException: Unable to cast COM object of type 'mshtml.HTMLDocumentClass' to interface type 'mshtml.DispHTMLDocument'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{3050F55F-98B5-11CF-BB82-00AA00BDCE0B}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
at mshtml.HTMLDocumentClass.get_all()
at WatiN.Core.Native.InternetExplorer.AllFramesProcessor..ctor(HTMLDocument htmlDocument)
at WatiN.Core.Native.InternetExplorer.IEDocument.get_Frames()
at WatiN.Core.FrameCollection..ctor(DomContainer domContainer, INativeDocument htmlDocument)
at WatiN.Core.Document.get_Frames()
at WatiN.Core.Document.Frame(Constraint findBy)
I tired to do something about this but with no success. I hope you can help.