How do you type new text into an EditText field?

I am trying to write a new value to an EditText field that already has a value in it. From here, I tried the following:

app.Query(c => c.Id(elementID).Invoke("setText", string.Empty)); app.Query(c => c.Id(elementID).Invoke("setText", "newEditTextValue"));

but that only appended what I wanted to enter to the existing value. The same will happen if I just do app.EnterText(c => c.Marked(element), value);

Is there something I am missing?

Best Answer

Answers

  • syang10syang10 USMember ✭✭

    -facepalm- thanks! that is exactly what i was missing.

Sign In or Register to comment.