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"]

Report
All responses (
Answers (