mardi 29 septembre 2015

Android testing. Espresso. Change text in a TextView

It is easy to update an EditText with Espresso, but I can not find a way to change a text (like with a TextView.setText("someText"); method) during the testing process.

 ViewAction.replaceText(stringToBeSet);

Is not working, cos it should be an EditText;

Aucun commentaire:

Enregistrer un commentaire