WatiN Cannot find window class

0

Has anyone experienced the following error? It seems intermittent but can't track the problem down.

System.Runtime.InteropServices.COMException (0x8007057F): Cannot find window class. (Exception from HRESULT: 0x8007057F)     
at mshtml.HTMLDocumentClass.IHTMLDocument2_get_parentWindow()     at WatiN.Core.Native.InternetExplorer.IEElement.get_ParentWindow()     
at WatiN.Core.Native.InternetExplorer.IEElement.GetJavaScriptElementReference()     
at WatiN.Core.Native.InternetExplorer.IEFireEventHandler.CreateJavaScriptFireEventCode(NameValueCollection eventObjectProperties, String eventName)     
at WatiN.Core.Native.InternetExplorer.IEFireEventHandler.FireEvent(String eventName, NameValueCollection eventProperties, Boolean noWait)     
at WatiN.Core.Native.InternetExplorer.IEElement.FireEvent(String eventName, NameValueCollection eventProperties)     
at WatiN.Core.Element.FireEvent(String eventName, Boolean waitForComplete, NameValueCollection eventProperties)     

Edit: This is on Windows 7 using IE9

c#
watin
asked on Stack Overflow Oct 13, 2011 by Mark • edited Oct 13, 2011 by Mark

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0