I\'m trying to type some text inside an EditText:
public void testSearch() { onView(withId(R.id.titleInput)).perform(typeText(\"Engineer\"));
You can include it with in the code like this,
onView(withId(R.id.titleInput)) .perform(click(), replaceText("Engineer"), closeSoftKeyboard());