There was an attempt to perform an action at point (190, 9) which is transparent or out of the windo
I want to select the Incident Type.First step, I send "1" in the input box, then auto search by "1", Second step, I click the checkbox before the Item "1", It can be checked few times,most time,It shows the error message:"There was an attempt to perform an action at point (190, 9) which is transparent or out of the window".How can I resolve it?
The object that you are performing the action on, may not be fully rendered, so the control may have zero size.
Try to insert a delay, and see if that works. Check the coordinates are correct and are within the bounding rectangle of the UI control.
Also, try click without coordinates too.
thank you,when I use "popupRoot.ItemsControl.WPFObject("ContentPresenter", "", 2).WPFObject("CheckBox", "", 1).ClickButton(cbChecked)",and not use the recorded code "popupRoot.ItemsControl.CheckboxAllAmbulance.ClickButton(cbChecked)",it can be selected all the time