Skip to main content
Question

Download PDF file


Forum|alt.badge.img+1

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.

4 replies

Forum|alt.badge.img+4
  • Navigator | Tier 3
  • 36 replies
  • August 21, 2023

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


Tamil Arasu10
Most Valuable Pathfinder
Forum|alt.badge.img+16
  • Most Valuable Pathfinder
  • 3276 replies
  • August 21, 2023

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.

 

 


Forum|alt.badge.img+1
  • Author
  • Cadet | Tier 2
  • 2 replies
  • August 21, 2023

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


Forum|alt.badge.img+4
  • Navigator | Tier 3
  • 36 replies
  • August 21, 2023

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings