Might be because of Find Children is returning an empty list or the buttons found aren’t interactable. Make sure to log Openbuttons.Count, use a precise filter like “”, verify aaname with currentUiElement.Get(“aaname”), and also check by disable simulate Click, and add a small delay before clicking.
Thank you all for your help @prashant1603765 , you are very right.
The count of Openbuttons returns 0
Why?
I have used find children, the open buttons should be 10, I have set the scope to find the descendants.
Any ideas?
Should I use different approach?