??????????????Robotium??AIP???????д?????android????????????
????EditText ???:

???????????裺
????1.???? EditText ???
????2.?????????????This is EditTextActivity
????3.???? Submit ???
???????????淵???????This is EditTextActivity
public void testUI() throws Exception {
this.EditText();
}
public void EditText(){
boolean expected = true;
solo.clickOnButton("EditText");
solo.enterText(0?? "This is EditTextActivity");
solo.clickOnButton("Submit");
boolean actual = solo.searchText("This is EditTextActivity");
assertEquals("This is not found"??expected??actual);
solo.goBack();
}
????assertEquals ???????????
????assertEquals(String message??boolean expected?? boolean actual)
????message:?????????????
????expected:???????????????
????actual:????????????????
??????? expected ?? actual ???????????????false?????????????????????