I'm writing some automation .js file, and I need to tap one of my accessoryButton from one cell.
How can I send the tap message to it ?
This is a custom cell, but the accessoryButton is added by iOS, not by me, and I don't know wich name it has.
Also in the docs I couldn't find anything ...
I have the cell referenced correcly as I can change the textField value for example.
Thanks in advance,
regards
I would take a look at the buttons
property on your UIATableCell
. That should give you the buttons in your cell and you can probably get to the accessoryButton from there. UIATableCell
does not seem to have a specific property for the accessoryButton (cf. here).
Source: Apple UIAElement Documentation