Skip to main content

Hello, I’m new using Automation Anywhere. I’m creating an automation where I need to click on a link “Save as PDF” and this link downloads a PDF file. I need to save the path of this file in a variable, because I need to read the content of the file later. How can I save the path of the file? I tryed to use the action “Download File”, but it does not seem right, because I need to trigger the action through the UI, not providing an URL.

 

Thanks.

Is it being saved somewhere by default? What browser are you using?


Hi @joaoguimb ,

While using the Download File, you have to specify the folder location to save the files.

As you mentioned above, need to click link to download file that should be stored local path (Downloads). 

 Another way - you can extract URL ( which need to click)

pass the URL  below and mention the save location as well.

 

 


It has been saved at the Downloads folder. I’m using Google Chrome


Just change your chrome settings to not default to downloads. You can then select a folder of your choice and loop through the folder to retrieve file name at each iteration.


Reply