Resource-id in EditText object

Hi everyone,
I want to set text to EditText object (android.widget.EditText0) using resource-id only but it happens that it has no such a property. Parent object (android.view.View0) has resource-id. Is there a convenient way to use this resource-id to set text?

@jan1

You can change the XPATH property of the EditText element like this:

//android.view.View[@resource-id="first-name"]/android.widget.EditText[1]
1 Like