Finsin gth wrong button

8 views
Skip to first unread message

Aviad Sachs

unread,
Mar 27, 2017, 9:12:44 AM3/27/17
to KIF iOS Automated Testing Framework
I'm want to  waitFor/tap a button with a "Next" label.
but since its the defualt, the Keyboard bottom right button is also "Next." 

When I try to waitFor/tap after entering text, it finds the Keyboard button, but can't tap it since the keyboard is hidden. ( i think)

button line although waitFor finds a button, it finds the wrong wrong - and fails to click it (not tappable) 

Any ideas how to find and tap the "correct" button?

Tony Mann

unread,
Mar 27, 2017, 10:13:32 AM3/27/17
to KIF Group
You can add an accessibilityLabel to the button.

--
You received this message because you are subscribed to the Google Groups "KIF iOS Automated Testing Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kif-framewor...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages