Fwd: Disable file download popup in IE

3,684 views
Skip to first unread message

Željko Filipin

unread,
Feb 16, 2011, 9:00:24 AM2/16/11
to watir
Hi,

I was able to disable "file download" popup in all popular browsers except IE.

I thought this would do it, but I still get the popup:

IE > Tools > Internet Options > Security > select zone (example: Internet) > Security levels for this zone > Custom level... > Downloads > File download > Automatic prompting for file downloads > Disable > OK > Yes > OK.

I am not interested in automating the popup, I do not want it to appear.

Anybody knows what I should do?

How to disable the popup for other browsers:

http://wiki.openqa.org/display/WTR/File+Downloads

Željko
--
watir.com - community manager
watirpodcast.com - host
testingpodcast.com - audio podcasts on software testing. all of them


Željko Filipin

unread,
Feb 16, 2011, 9:06:20 AM2/16/11
to watir
Forgot to say it in the original post, OS is Windows 2003.

Željko

Dave McNulla

unread,
Feb 16, 2011, 1:25:25 PM2/16/11
to watir-...@googlegroups.com
I saw your question in StackExchange and the only answer was what I suspected - that solution avoids the information bar, not the Save/Run/Cancel dialogs.

I found something interesting from WinZip. Seems that IE may have mime type decision making for downloads. Maybe we could create a registry change to fix this problem?

Dave

Željko Filipin

unread,
Feb 17, 2011, 3:09:22 AM2/17/11
to watir-...@googlegroups.com
On Wed, Feb 16, 2011 at 7:25 PM, Dave McNulla <mcn...@gmail.com> wrote:
> http://kb.winzip.com/kb/entry/69/

I think this is a solution to enable file download popup: "the File Download dialog will display again and will ask if you want to open the file or save it."

IE really confuses me. I was able to disable file download popup in all other popular browsers in a few minutes. I am playing with IE for days with no luck.

Anybody that finds the solution has a beer at seconf[1], viaqa[2] or any other conference where the both of us are there. :)

Željko
--
[1] http://www.seleniumconf.com/
[2] http://viaqa.mobi/

Сергей Демьянчук

unread,
Feb 17, 2011, 4:54:03 AM2/17/11
to watir-...@googlegroups.com
Hi, Željko

Could you please try open registry with system key [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3] and change data type of the value named 1803 from "0" to "3" ("0" - enable download dialog, "3" - disable download dialog) and reply if it works for you.
This is works fine for me, but i get another alert modal dialog with message: "Your current security settings do not allow this file to be downloaded.", and AutoIt handles this excelent.
I used instructions from here.

Thanks,
Sergii


2011/2/17 Željko Filipin <zeljko....@wa-research.ch>

sdemian

unread,
Feb 18, 2011, 12:39:33 PM2/18/11
to Watir General

Željko Filipin,
I understand that approach from http://www.pctools.com/guides/registry/detail/901/
does not work for you.
Do you find some work around ?

Thanks,
Sergii

On Feb 17, 11:54 am, Сергей Демьянчук <sergeydemjanc...@gmail.com>
wrote:
> Hi, Željko
>
> Could you please try open registry with system key
> [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
> Settings\Zones\3] and change data type of the value named 1803 from "0" to
> "3" ("0" - enable download dialog, "3" - disable download dialog) and reply
> if it works for you.
> This is works fine for me, but i get another alert modal dialog with
> message: "Your current security settings do not allow this file to be
> downloaded.", and AutoIt handles this excelent.
> I used instructions from
> here<http://www.pctools.com/guides/registry/detail/901/>
> .
>
> Thanks,
> Sergii
>
> 2011/2/17 Željko Filipin <zeljko.fili...@wa-research.ch>
>
> > On Wed, Feb 16, 2011 at 7:25 PM, Dave McNulla <mcnu...@gmail.com> wrote:
> > >http://kb.winzip.com/kb/entry/69/
>
> > I think this is a solution to enable file download popup: "the File
> > Download dialog will display again and will ask if you want to open the file
> > or save it."
>
> > IE really confuses me. I was able to disable file download popup in all
> > other popular browsers in a few minutes. I am playing with IE for days with
> > no luck.
>
> > Anybody that finds the solution has a beer at seconf[1], viaqa[2] or any
> > other conference where the both of us are there. :)
>
> > Željko
> > --
> > [1]http://www.seleniumconf.com/
> > [2]http://viaqa.mobi/
>
> >  --
> > Before posting, please readhttp://watir.com/support. In short: search

Željko Filipin

unread,
Feb 21, 2011, 5:12:22 AM2/21/11
to watir-...@googlegroups.com, sdemian
On Fri, Feb 18, 2011 at 6:39 PM, sdemian <sergeyde...@gmail.com> wrote:
> I understand that approach from http://www.pctools.com/guides/registry/detail/901/
> does not work for you.

Did not try that yet, thanks for the link.

Željko
Reply all
Reply to author
Forward
0 new messages