I am using robotium for testing and can't figure out how to click buttons without text. Test fails with trace:
junit.framework.AssertionFailedError: Button with index 2131034130 is not available!
The index system is there for black-box testing reasons So If you know the resource ID of the view you want to click you can use solo.getView(R.id)
to get a hold of the object and then use solo.clickOnView(View view)
to click it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With