web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate Desktop...
Power Automate
Unanswered

Power Automate Desktop - Dynamically Selecting File Name to Download

(0) ShareShare
ReportReport
Posted on by

Hi. I am trying to automate a download of a report to include into PowerBI. The website is terrible and has iframes which are not laid out very well. I have used Power Automate Desktop because web reorder was no help because of the iframes. I have gotten the download to work in session but cannot get it to work when I test it, I basically get a file not found because it is dynamic, like file1, file2. Here is the error message:

: Robin.Core.ActionException: Failed to press button (button wasn't found)
at Robin.Modules.UIAutomation.Actions.PressWindowButton.Execute(ActionContext context)
at Robin.Runtime.Engine.ActionRunner.RunAction(String action, Dictionary`2 inputArguments, Dictionary`2 outputArguments, IActionStatement statement)

 

It is because it is dynamic, how do I automate it?

 

Please let me know.

 

Best,

 

Pete

I have the same question (0)
  • fraenK Profile Picture
    2,125 on at

    It's difficult to say without the HTML code but there a many options on how to optimize the selector to get the right element, not only by using an id: https://docs.winautomation.com/en/css-selectors.html#idp36157  

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 274 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 175

#3
Haque Profile Picture

Haque 166

Last 30 days Overall leaderboard