I am using Espresso to test an Android application. I am having trouble trying to find a way to access and select a RadioButton (which belongs to a RadioGroup) of the current Activity. Does anyone have any suggestions? Thanks you
-Andrew
I am using Espresso to test an Android application. I am having trouble trying to find a way to access and select a RadioButton (which belongs to a RadioGroup) of the current Activity. Does anyone have any suggestions? Thanks you
-Andrew
Given the following layout:
Write a new test method with the following:
Voila!
for the above solution, if "not" is not resolvable use "isNotChecked" in place of "(not(isChecked()))"