IE browser use URL to login web site

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

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




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值