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 / Failed to write in tex...
Power Automate
Unanswered

Failed to write in textbox (error while writing)

(0) ShareShare
ReportReport
Posted on by 4

Hi, 

 

I keep getting this error when trying to fill a textbox. As far as I can tell, I have the right selector. I have also tried using sendkeys, but I can't seem to get text into this textbox no matter what I try, 

 

Robin.Core.ActionException: Failed to write in textbox (error while writing) ---> System.Exception: Could not bring the target window to foreground after trying for 2000 ms
at Robin.Plugin.UI.UIElement.BringContainerWindowToFrontAndWithinScreen()
at Robin.Plugin.UI.UIElement.HoverMouseOverElement(RectangleEdgePointEnum edgePointEnum, Int32 offsetX, Int32 offsetY)
at Robin.Plugin.UI.UIElement.ParametrizedClick(MouseClickTypeEnum clickType, RectangleEdgePointEnum elementRectangleSubsector, Int32 offsetX, Int32 offsetY)
at Robin.Plugin.UI.UIElement.Click()
at Robin.Plugin.UI.UIElement.Populate(String text)
at Robin.Modules.UIAutomation.Actions.UIAutomationActionsDispatcher.PopulateTextFieldInWindow(Variant windowSelector, Variant textFieldSelector, Variant textToFillIn, Guid windowId, Int32 automationImpl)
--- End of inner exception stack trace ---
at Robin.Modules.UIAutomation.Actions.PopulateTextFieldInWindow.Execute(ActionContext context)
at Robin.Runtime.Engine.ActionRunner.RunAction(String action, Dictionary`2 inputArguments, Dictionary`2 outputArguments, IActionStatement statement)

 

These are my selector settings:  > pane[Process="REDACTED"] > pane[Id="UclSearchClient1"] > pane[Id="pnlCriteria"] > pane[Id="ustClient"] > edit[Id="txtSearch"]

 

 

  • fraenK Profile Picture
    2,125 on at

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 235

#3
David_MA Profile Picture

David_MA 172 Super User 2026 Season 2

Last 30 days Overall leaderboard