【发布时间】:2014-05-09 20:49:41
【问题描述】:
在使用 InternetExplorer 驱动程序使用 Selenium Webdriver 创建自动化测试 (C#) 时,我遇到了通过 Windows 身份验证的问题。
(使用 Firefox 时,它可以访问 https//username:password@site.com,但不能使用 Internet Explorer 10(Windows 7))
我尝试根据这篇文章更新 Windows 注册表,但它不适用于 IE10: http://aleetesting.blogspot.se/2011/10/selenium-webdriver-tips.html
任何友好的人都可以帮助我提供一个很好的解决方案,如何通过 Windows 身份验证使用 https://username:password@site.com 在 IE10 中?
或者有没有人有更好的方法来处理 Selenium webdriver 的 Windows 身份验证问题?
最好的问候 卡尔
【问题讨论】:
-
你必须使用 AutoIT
标签: c# selenium windows-7 internet-explorer-10 windows-authentication