我的团队有许多WatiN测试套件,它们由我们的TeamCity服务器自动运行。最近,我们将所有构建代理切换到64位,我还将WatiN测试转换为在x64模式下使用NUnit。由于对IE浏览器的互操作调用失败或其他原因,Watin总是给我们不经常的测试失败,但这些都是非常罕见的。at SHDocVw.IWebBrowser2.get_HWND()
at WatiN.Core.Native.InternetExplorer.IEBrowser.get_hWnd()at WatiN.Core.DomCon
我用WatiN迭代了一个非常大的div列表(大约3000个),我得到了错误:System.OutOfMemoryException: Insufficient memory to continue the executionWatiN.Core.Native.InternetExplorer.IEElement.GetAttributeValu
从WatiN网站: // goto the google website.IE ie = new IE("http://www.google.com");
// Find the search text field and type Watin in it.ie.TextField(Find.ByName("q")).TypeText(&qu