Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to click a button on specify row of tableview ? #268

Closed
dangluan opened this issue Feb 24, 2014 · 2 comments
Closed

How to click a button on specify row of tableview ? #268

dangluan opened this issue Feb 24, 2014 · 2 comments

Comments

@dangluan
Copy link

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
Copy link
Contributor

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
Copy link
Author

dangluan commented Mar 3, 2014

thanks man!

@dangluan dangluan closed this as completed Mar 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants