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 / UI Elements not recogn...
Power Automate
Unanswered

UI Elements not recognized or delayed

(0) ShareShare
ReportReport
Posted on by 15

Hi all, 

 

I initially thought that my computer did not recognize any UI elements but, it actually does. I noticed this when I simply waited some time and after I a while it did execute the commands. 

Example: For a calculator automation, my flow gets stuck on the first "Click UI Element" for around 2 minutes. 

bqminlee_0-1649535489183.png
Anybody run into this before?

 

  • VJR Profile Picture
    7,635 on at

    The elements getting detected also depend on the attributes chosen in the Selector window. PAD identifies the elements based on the attributes that are ticked. So make sure they are not too generic. Try to make it specific by ticking the relevant attributes. Need some playing around. 

  • ryule Profile Picture
    929 Super User 2024 Season 1 on at

    I have noticed that I have needed to add wait time before "move mouse to image" actions, but only like 5 seconds or so. Two minutes seems pretty crazy.

  • bqminlee Profile Picture
    15 on at

    Thanks @VJR 

    I will investigate this area for sure. I actually tried with another computer, and it was faster. Still not as instant as the tutorials I am watching online. 

    Also, have you had any experience where the component is not recognized at all?
    This is a 3D modeling software I am looking to create automations for. As of now, I am just trying it to click on a button but, it doesn't recognize the element.  Any idea on what's going on or any videos/study references you can direct me to?

    bqminlee_0-1649683663387.png

    bqminlee_1-1649683713321.png


    Getting failed to get UI:
    Exception of type 'Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.Exceptions.ElementNotFoundException' was thrown.: Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: Click failed (failed to get UI element) ---> Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.Exceptions.ElementNotFoundException: Exception of type 'Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.Exceptions.ElementNotFoundException' was thrown.
    at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.AutomationRuntimes.UIAutomationRuntimeBase.RetractElement(IntPtr windowHandle, String selector)
    at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.AutomationRuntimes.UIAutomationRuntimeBase.ClickElementInWindow(IntPtr windowHandle, String selector, MouseClickTypeEnum clickType, RectangleEdgePointEnum elementRectangleEdgePoint, Int32 offsetX, Int32 offsetY)
    at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.UIAutomationActionsDispatcher.ClickElementInWindow(Variant windowSelector, Variant controlSelector, Variant offsetX, Variant offsetY, Guid windowId, Int32 clickType, Int32 elementRectangleSubsector, Int32 automationImpl)
    at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.Proxy.LocalAutomationRuntime.ClickElementInWindow(String windowSelector, String controlSelector, Int32 offsetX, Int32 offsetY, Guid windowId, Int32 clickType, Int32 elementRectangleSubsector, Int32 automationImpl)
    at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.ClickElementInWindow.<>c__DisplayClass20_0.<Execute>b__0(IAutomationRuntime r)
    at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.UIAutomationActionBase.PerformAutomation(Action`1 action, UIControl control)
    at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.ClickElementInWindow.Execute(ActionContext context)
    --- End of inner exception stack trace ---
    at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.ClickElementInWindow.Execute(ActionContext context)
    at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)

     




  • VJR Profile Picture
    7,635 on at

    Hi @bqminlee 

    Yes there are certain applications built in ?? technology whose elements cannot yet be detected via PAD.

    This must be the case with Autodesk 3ds Max too, since it is a 3D computer graphics program. 

     

    You can submit an idea in this forum for PAD to recognise the elements of this software too.

    In the interim all you will have to try is to use sendkeys or image matching.

  • bqminlee Profile Picture
    15 on at

    Thanks @VJR 

    I can't seem to find anything related to PAD in google. Can you direct me to where I can learn more about? 

  • VJR Profile Picture
    7,635 on at

    @bqminlee , are you looking to learn some specific feature of PAD? 

    For overall features there are tutorials on YouTube.

  • bqminlee Profile Picture
    15 on at

    @VJR I just got that PAD stands got power automate desktop. Thought it was some sort of recognition system within the program hahaha...

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 211 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 190

Last 30 days Overall leaderboard