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 / ress simultaneously Ct...
Power Automate
Unanswered

ress simultaneously Ctrl+LeftMouseClick to recognize to Button issue

(0) ShareShare
ReportReport
Posted on by 27

Hi

I would like to run a PowerAutomate Button in PowerBI dashboard. Im only using the way to press simultaneously Ctrl+LeftMouseClick to recognize to Button. My problem is that it works at the beginning but once i close the flow and restart it  after a while it stop working and i have to do the same work knowing that the element already exist in my UI element and used to work.

How to fix this?

I have the same question (0)
  • BlueBirdBKE Profile Picture
    27 on at

    i get this error: 

    ID de corrélation : 17940e3b-371e-4db9-b8b8-3fc7f2b3c4cf

    Une exception de type 'Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.Exceptions.ElementNotFoundException' a été levée.: Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.ActionException: Échec de Click (échec lors de l’obtention de l’élément d’interface utilisateur) ---> Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.Exceptions.ElementNotFoundException: Une exception de type 'Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.Exceptions.ElementNotFoundException' a été levée.
       à Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.AutomationRuntimes.UIAutomationRuntimeBase.RetractElement(IntPtr windowHandle, String selector)
       à Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.AutomationRuntimes.UIAutomationRuntimeBase.ClickElementInWindow(IntPtr windowHandle, String selector, MouseClickTypeEnum clickType, RectangleEdgePointEnum elementRectangleEdgePoint, Int32 offsetX, Int32 offsetY)
       à Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.Proxy.LocalAutomationRuntime.ClickElementInWindow(UIRuntimeElement element, Int32 offsetX, Int32 offsetY, Int32 clickType, Int32 elementRectangleSubsector)
    --- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
       à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       à Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.Proxy.UIAutomationRuntimeRouter.Invoke(MethodInfo targetMethod, Object[] args)
    --- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
       à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       à System.Reflection.DispatchProxyGenerator.Invoke(Object[] args)
    --- Fin du suivi de la pile d’exceptions à distance ---
       à Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.Proxy.RemoteAutomationRuntimeProxy.Invoke(MethodInfo targetMethod, Object[] args)
    --- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
       à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       à System.Reflection.DispatchProxyGenerator.Invoke(Object[] args)
       à Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.ClickElementInWindow.<Execute>b__21_0(IAutomationRuntime r, UIRuntimeElement e)
       à Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.UIAutomationActionBase.PerformAutomation(Action`2 action, UIControl control, Boolean logAction)
       à Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.ClickElementInWindow.Execute(ActionContext context)
       --- Fin de la trace de la pile d'exception interne ---
       à Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.ClickElementInWindow.Execute(ActionContext context)
       à Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    The error says the element is not found. It likely means that your element has some parameters that may be dynamic and thus they are different each time you open the dashboard. You might need to modify your selector to remove those pieces.

    It is hard to be more specific without seeing the selector itself, though. Can you share a screenshot?

  • BlueBirdBKE Profile Picture
    27 on at

    here is it 

    9.PNG
    8.PNG
  • BlueBirdBKE Profile Picture
    27 on at

    however , tjhe first time i execute the flow , the selector works perfectly but if try to rexecute it it give the error mentionned below

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    You are using UI actions for web automation. Please switch to appropriate Browser automation actions under the Browser group: 

    Agnius_0-1691499178712.png

    UI automation actions only work with local applications and not web pages.

    -------------------------------------------------------------------------
    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.

  • BlueBirdBKE Profile Picture
    27 on at

    actually i am working on a local application NOT a web page 

     

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Okay, my bad. That doesn't look like a local app. Your selector is of type Pane which usually indicates a window or a screen, and not a single element, like a text field or a button. You might want to try to capture the exact element instead. If it doesn't get highlighted properly when inspecting it with the UiSpy, it might be that PAD is not able to capture specific elements inside the screen of this app. This can happen on some apps.

     

  • BlueBirdBKE Profile Picture
    27 on at

    Exactly the field doesn't get highlighted . what alternative i could use instead

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    If PAD is not able to interact with elements inside the screen, you will need to use alternative methods, such as using Move mouse to image and making it send a click after moving, or using Send keys and navigating through the screen with keystrokes. Not much else you can do there with normal UI 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

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 312 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 154 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 143 Super User 2026 Season 2

Last 30 days Overall leaderboard