Forum Discussion

mailss2004's avatar
mailss2004
New Contributor
13 years ago

Automatic pdf file download without save/open/cancel pop up in IE9 and firefox 17.0.11 ERS browser for Windows 7 operating system



1.       How to download and open a pdf file automatically just by clicking on the file in firefox and IE browser for windows 7 without the save/ open/cancel popup.

 

2.        Is there any functionality in test complete to achieve this automatic opening of a file without popup.

 

3.       What is the ideal way to deal with this scenario.

3 Replies

  • marin's avatar
    marin
    Frequent Contributor
    Hello Shoeb,



    I had my share of fun making PDF opening directly in Adobe Reader without Open/Save prompt - both in IE9 and Firefox ...

    Depending on the mode that you want to open the PDF (directly in browser or in Adobe Reader itself) you will need to set the applications correspondingly.



    In Adobe Reader you need to set or unset  the option "Show PDF in Browser" in section "Internet", depending on what you need.

    Furthermore, you need to enable or disable the corresponding add-on/plugin in the browser depending on what you need.



    In my scenario I wanted to always open PDF in Adobe Reader -  therefore in IE in needed to additionally set the security level of intranet to "Medium-Low" to prevent that Save/Open popup, and in Firefox (Tools-> Options-> Applications)  I needed to specify the default program for PDF to be Adobe Reader.



    Hope this helps,



    Marin
  • mailss2004's avatar
    mailss2004
    New Contributor
    When I click on a file in browser it ask me for save/cancel/open popup and i dont want this pop up or do we have any solution in test complete to catch this open/cance/save pop up window.



    I am particluarly looking for an scenario when click on the pdf object in web browser the file should get directly download & open in adobe reader/browser without any popup.



    Note :- I have made changes in the adobe reader to open file directly but how to integrate this with the browser. Also this thing i need for windows 7 envirnoment browser's.



    Also i want to know what is the ideal solution to deal with download pop up windows should i disable them or should code them.