Finally, I am able to use PAMIE (Python Automation Module For Internet
Explorer),
http://pamie.sourceforge.net/, to automate windows dialogs
like File Download and Save As dialogs.
The cModalPopUp.py from pamie20.zip works great for handling windows
dialogs! Here is the code I added to my windmill test script:
if testenvinfo['browser'] == 'ie7':
# hanle File Download dialog
dialogThread = cModalPopUp.handlePopup ("FileDownload",
"&Save")
dialogThread.setName('Close FileDownload dialog thread')
dialogThread.start()
dialogThread.join()
time.sleep(5)
# hanle Save As dialog
dialogThread = cModalPopUp.handlePopup ("SaveAs", "&Save")
dialogThread.setName('Close SaveAs dialog thread')
dialogThread.start()
dialogThread.join()
time.sleep(5)
Jimmy
On May 5, 9:15 am, Jimmy Chan <
mono...@gmail.com> wrote:
> I am trying to automate this scenario:
>
> go to a website -> sign up an account -> at the end of sign up
> process, user needs to download a zip file
>
> I was able to automate downloading zip file via FF3 on XP without
> getting windows file download dialog, see the details athttp://
groups.google.com/group/windmill-dev/browse_thread/thread/2f76....
>
> However, I am having trouble with IE7 on XP, and there is a known
> issue with IE7/XP:
>
> Zip Files Downloaded with Internet Explorer Are Not Saved to Your
> Computerhttp://
support.microsoft.com/kb/308090
>
> I installed Orbit Downloader on IE7,
http://www.orbitdownloader.com/.
> With this tool, I can successfully download zip file to any folder
> without getting windows file download dialog.
>
> However, when I run IE7 with windmill, I get the known issue again,
http://support.microsoft.com/kb/308090, somehow, Orbit Downloader