Skip to main content
Community site session details

Community site session details

Session Id : LoOZ2pU8eJU9EaRC/ORnUS
Power Automate - Power Automate Desktop
Answered

Failed to get UI element during loop

Like (0) ShareShare
ReportReport
Posted on 4 Aug 2023 20:11:31 by 72

I have a process that works as expected with the exception of 1 UI element. I have tried to modify the element manually but every time it seems to work on the first pass but on the second its not able to find the path specified. I assume it has something to do with the class of the input being 'form-control' and no other identifier I am able to pass to the PAD UI element selector. But have tried everything in my limited knowledge of PAD so looking for any guidance at this point. 

 

lkhall_37203_0-1691179725361.png

 

lkhall_37203_1-1691179772673.png

 

 

  • lkhall_37203 Profile Picture
    72 on 07 Aug 2023 at 12:17:58
    Re: Failed to get UI element during loop

    Well that definitely seemed to resolve the issue, I really appreciate the help. 

  • Verified answer
    Agnius Bartninkas Profile Picture
    Most Valuable Professional on 07 Aug 2023 at 12:13:52
    Re: Failed to get UI element during loop

    That's why it's failing. Try using the Press button in web page instead and capture a new element. Also, replace your Populate text field in window action with a Populate text field in web page action. Web automation should be done using the Browser group of actions.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

  • lkhall_37203 Profile Picture
    72 on 07 Aug 2023 at 12:05:47
    Re: Failed to get UI element during loop

    I am using a "Click UI element in window" action. 

    lkhall_37203_0-1691409924916.png

     

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on 05 Aug 2023 at 04:36:12
    Re: Failed to get UI element during loop

    What action are you using on this UI element? It is clearly a web element, but the selector looks a lot, like it has been captured with one of the local app UI actions, and not a web UI action.

    Make sure you are using an appropriate action on it, that is under the Browser group of actions.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete