How to click a button on specify row of tableview ?
Closed this issue · 2 comments
dangluan commented
I have many row on a table , and i want to click on a button on specify row of table
Ex:
sport ---------------------- edit --- delete
clothes -------------------- edit --- delete
smart phone -------------------- edit --- delete
I want to click the edit button on clothes row of table.
joemasilotti commented
To click the 'sports' cell, try:
touch("tableViewCell marked:'sports' button marked:'edit'")
This will find the table cell with 'sports' in it's label(s), then in that
cell find a button that has a label with the text 'edit'. touch will, well,
touch that button.
dangluan commented
thanks man!