Hi ,
Requirement : I want to download a file using RPA but when the bot click download the file, The file is saving in download folder by default but we need (save as popup) so the we can save the downloaded file in specific location
when i am trying to download manually save as pop-up is showing and i can save in specific location but its not showing when RPA bot download's the file
I have tried changing settings of chrome but its not working , please suggest with some solutions
Thanks & Regards
Shashank
Discussion posts and replies are publicly visible
Hi Shashankr,
It is not clear for me, is the bot able to open the popup windows? (save as windows)
Thanks in advance
Jesus
Hi Jesus,
No, while the bot downloading we are not getting popup window when we manually click download the popup window is opening.
Thanks Shashank,
One thing you can do is use Locale Image Action in order to click the button
https://docs.appian.com/suite/help/20.3/rpa-8.4/modules/image-recognition-module.html
Try to use that, I think it is going to work in that way.
Thanks Jesus ,
But i am able to click on the button & download it, but the popup(save as window) is not opening.
As a result now the file is downloaded in download folder but we need to download in specific folder is there any other solution's i can try them.
Got it!
I supposed you change this:
and it does not work. So you can do this in your bot:
https://docs.appian.com/suite/help/22.4/rpa-8.6/modules/file-management-module.html#copy-a-file-or-folder
Please try that.
Thanks for the solution
I have toggle on this option in chrome.
But when i run the bot, and check again for this option it is in inactive state
I have tried multiple time to toggle on but its not reflection the actions (ask where to save file) window is not showing when we run the bot.
Information: I am using the bot in development server provided by clients not in local machine
Hi Shashank,
Ok, the way I know to solve this is to indicate in the robot the chrome capabilities. To do this, you must do it via Java code. (https://docs.appian.com/suite/help/22.2/rpa-8.6/custom_code/development-environment-overview.html)
HashMap<String, Object> chromePrefs = new HashMap<String, Object>();chromePrefs.put("download.default_directory", downloadPath);ChromeOptions options = new ChromeOptions();....
Try to use the second option that I have suggested to copy/move the downloaded file.