Selenium RC drag and drop:
作者: Max.Bai
时间: 2014/06
Sometimes our site need login with windows security popup login dialog.
We can put user name and pwd in url to auto login web site in Firefox.
Like: Http://username:password@127.0.0.1
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 andexplorer.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

本文介绍了如何通过修改注册表来禁用Internet Explorer中的用户名和密码弹窗功能,适用于自动化测试场景。文中提供了两种方法:一是手动修改注册表,二是使用Microsoft提供的修复工具。
31万+

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



