We can put user name and pwd in url to auto login we site in Firefox.
Like: Http://username:password
Internet Explorer does not support user names and passwords in Web site addresses
This feature has disable after IE6.0.
In automation testing we need skip the windows security popup login dialog.
We can manually set register to disable the new feature.
To disable the new default behavior in Windows Explorer and Internet Explorer, createiexplore.exe and explorer.exe DWORD values in one of the following registry keys and set their value data to0.
- For all users of the program, set the value in thefollowing registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_HTTP_USERNAME_PASSWORD_DISABLE
- For the current user of the program only, set the value inthe following registry key:
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_HTTP_USERNAME_PASSWORD_DISABLE
Or we can download the fix tool MicrosoftFixit50642.msi to fix it.
Download url: http://go.microsoft.com/?linkid=9767718
Relate URL: http://support.microsoft.com/kb/834489
本文介绍了如何在 Firefox 浏览器中使用用户名和密码自动登录网站,以及如何通过注册表设置或下载修复工具来禁用 Windows 安全弹窗登录对话框,适用于自动化测试场景。
31万+

被折叠的 条评论
为什么被折叠?



