Click on Save button on File Download popup in IE11 in robot framework

僤鯓⒐⒋嵵緔 提交于 2019-12-08 02:27:03

问题


Is there a way to click on the Save or Open button in the pop up that appears while downloading a file in IE 11? I am using Robot Framework AutoIt Library. I can handle the windows that comes subsequent after clicking the Save or Save As option.


回答1:


What kind of file are you downloading? Depending on the file type you should be able to set a default behaviour in IE11.

Personally I think AutoIT solutions with this are overkill, I'd recommend looking at the following blog post for alternative ideas if possible:

https://blog.codecentric.de/en/2010/07/file-downloads-with-selenium-mission-impossible/

However, if this is a scenario you simply MUST automate as you're doing then my first line should help you.



来源:https://stackoverflow.com/questions/38298162/click-on-save-button-on-file-download-popup-in-ie11-in-robot-framework

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!