Robotium reference

By | October 8, 2015

Enter text EditText / text field

solo.enterText((EditText) solo.getView(R.id.email_edittext), "baduser@gmail.com");

Click Button

solo.clickOnButton("Login");

Check for Toast Text Message

assertTrue(solo.waitForText(getActivity().getResources()
        .getString(R.string.msg_login_failed)));

 

 

More to come…


Related Articles: