Download file is blocked using WatiN even after modifying registry settings
I'm doing an IE auto开发者_如何转开发mation using WatiN.
When a file to be downloaded is clicked, I get the following in the Internet Explorer Information bar:
To help protect your security, Internet Explorer has blocked this site from downloading files to you computer.
I added a registry key to,
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\
then a REG_DWORD value named "http" with value==2 as given in Programmatically add trusted sites to Internet Explorer
but still facing same issues. Can some1 advice on this....
- In Internet Explorer, click Tools.
- Click Internet Options.
- Under the Security tab, click Custom Level.
- Scroll to the Downloads section. Then set Automatic prompting for file downloads to Enable.
try setting your security 'zone' to trusted sites, adding the site you're downloading from to your trusted sites, and setting the security level to low. seems to work for me
精彩评论