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 Unable ...
Power Automate
Unanswered

Power Automate Unable to recognize the frame

(0) ShareShare
ReportReport
Posted on by 4

I am trying to open Power BI using power automate.  It opens the Power BI but cant recognize the clicks on Frame appearing. It gives an error while executing the flow. 

 

Any suggestion please? 

 

 

Power BI Frame.png

Categories:
  • Cayshin Profile Picture
    338 on at

    Can you please post a screenshot of the PAD Flow with the error message?

  • jayantd1974 Profile Picture
    4 on at

    Subflow: Main, Action: 8, Action name: Click UI element in window

     

    Exception of type 'Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.Exceptions.WindowNotFoundException' was thrown.: Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: Click failed (failed to get window) ---> Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.Exceptions.WindowNotFoundException: Exception of type 'Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.Exceptions.WindowNotFoundException' was thrown.
    at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.WindowContainers.FindWindow(Variant windowSelector, Guid windowId, Boolean bringToFront, Boolean useCachedWindows, Boolean useTimeout, Int32 timeoutSeconds)
    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)

  • AS-06081019-0 Profile Picture
    1,738 Super User 2024 Season 1 on at

    @jayantd1974  Have you recorded the script using PAD recorder? If yes, then I believe you should open selector builder and compare the Ui elements. It could be case that any identifier is dynamic which is not getting recognized resulting into failure.

  • jayantd1974 Profile Picture
    4 on at

    Recorded using Power Automate recorder.  How can I fix this? I see a dynamic window not captured

  • AS-06081019-0 Profile Picture
    1,738 Super User 2024 Season 1 on at

    Open selector builder and capture it or refer this https://docs.microsoft.com/en-us/power-automate/desktop-flows/build-custom-selectors

     

    Thanks

    Ankesh

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 298 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard