大佬教程收集整理的这篇文章主要介绍了运行我的c#Selenium WebDriver代码时出现NUnit错误,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
当我第一次构建和调试我的代码时,它将传递给NUnit,我可以从那里成功运行(加载正确的浏览器加载正确的网页)
直到最近,每当我尝试在NUnit中运行它时,都会发生运行错误:
FirstSELEniumTest.SELEniumTest.TestGoogle: SetUp : OpenQA.SELEnium.WebDriverException : you will need to use add InternetExplorerDriver.USELEgacyInternalServer to the desired capabilities to use thE internal native code server library. This functionality will be deprecated in favor of the standalone IEDriverServer.exe server. ----> OpenQA.SELEnium.DriverserviceNotFoundException : The file C:\Users\lbrown\Documents\Visual studio 2010\Projects\ClassLibrary15\ClassLibrary15\bin\Debug\IEDriverServer.exe does not exist. The driver can be downloaded at http://code.google.com/p/SELEnium/downloads/list TearDown : System.NullReferenceException : Object reference not set to an instance of an object.
以上是大佬教程为你收集整理的运行我的c#Selenium WebDriver代码时出现NUnit错误全部内容,希望文章能够帮你解决运行我的c#Selenium WebDriver代码时出现NUnit错误所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。