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

Community site session details

Session Id : rBG9ov9qayVlIBJH+QrLFb
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

 

 

I have the same question (0)
  • 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 736 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 396 Moderator

#3
Power Apps 1919 Profile Picture

Power Apps 1919 339

Last 30 days Overall leaderboard
Loading complete