Enter text EditText / text field
solo.enterText((EditText) solo.getView(R.id.email_edittext), "[email protected]");
Click Button
solo.clickOnButton("Login");
Check for Toast Text Message
assertTrue(solo.waitForText(getActivity().getResources() .getString(R.string.msg_login_failed)));
More to come…