Ask a Question

There was an attempt to perform an action at point (190, 9) which is transparent or out of the windo

A79969
New Contributor

There was an attempt to perform an action at point (190, 9) which is transparent or out of the windo

A79969_0-1664437319584.png

A79969_1-1664437649938.png

 

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?

2 REPLIES 2
rraghvani
Super Contributor

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.

 

See Handling 'There was an attempt to perform an action at point...' Errors

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

cancel
Showing results for 
Search instead for 
Did you mean: