nunit – 与Windows的WatiN兼容性
发布时间:2020-12-14 04:16:00 所属栏目:Windows 来源:网络整理
导读:我在 Windows XP上成功运行测试,但在运行Windows 2003时甚至没有成功构建. 任何人都知道它是否兼容,因为我在某些网站上看到WatiN已经在XP上进行了全面测试,而不是在其他Windows版本上. 我通常会发布这篇文章作为对Sam的回答的评论,但我试图让堆栈跟踪可搜索,
我在
Windows XP上成功运行测试,但在运行Windows 2003时甚至没有成功构建.
任何人都知道它是否兼容,因为我在某些网站上看到WatiN已经在XP上进行了全面测试,而不是在其他Windows版本上.
我通常会发布这篇文章作为对Sam的回答的评论,但我试图让堆栈跟踪可搜索,所以这里……
WatiN.Core.Exceptions.IENotFoundException : Could not find an IE window matching constraint: Timeout while waiting to attach to newly created instance of IE.. Search expired after '30' seconds. at WatiN.Core.IE.CreateIEPartiallyInitializedInNewProcess() at WatiN.Core.IE.CreateNewIEAndGoToUri(Uri uri,IDialogHandler logonDialogHandler,Boolean createInNewProcess) at WatiN.Core.IE..ctor(String url,Boolean createInNewProcess) c:...WithVendorSite.cs(42,0): at WithVendorSite.VerifyCanLogIn(TargetSite target) 我在Windows 7上针对WatiN 2.0.10.928开发了我的测试,但是在Windows Server 2008上使用最新的WU运行并且启用了增强的安全配置并且运行了测试升级(以管理员身份运行). 在我的情况下(感谢Sam)问题是bin目录中没有Microsoft.mshtml.dll(我已经发现Interop.shdocvw.dll是我在Windows 7端遇到的错误消息所必需的). 添加Microsoft.mshtml.dll后,事情运行愉快,ESC转回[但测试过程需要运行升级]. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- Windows Phone 8会支持Qt吗?
- 如何在Windows 8应用程序中使用c#添加facebook rss feed?
- windows – Win32 API,用于判断给定的二进制文件(EXE或DLL)
- Windows server 2008 r2 dns域控与额外域控
- .net – 开发/调试Windows服务的最简单方法
- active-directory – 针对Windows,Linux,网络设备的集中身份
- Windows Azure中角色的静态IP地址?
- Windows 8 WrapPanel
- windows-phone-8.1 – Windows Phone 8.1应用程序中的部署错
- 2018-2019 2 20165203 《网络对抗技术》 Exp2 后门原理与实
推荐文章
站长推荐
热点阅读