Skip to content

net.natura.testcommons.actions.typeValueInTextField

Lucas de Souza da Conceição edited this page Jul 2, 2020 · 1 revision

typeValueInTextField

fun typeValueInTextField(text: String): ViewAction

Set a value to the EditText inside the TextField.

Example usage:

onView(withId(R.id.the_textfield_id)).perform(typeValueInTextField("my text"))

Parameters

text - the string to be set.

Clone this wiki locally