Skip to content

Instantly share code, notes, and snippets.

@whatthewhat
Created May 11, 2011 10:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whatthewhat/966272 to your computer and use it in GitHub Desktop.
Save whatthewhat/966272 to your computer and use it in GitHub Desktop.
Robotium sample test
// Create a new card
public void testCreateCard(){
solo.clickOnButton("Login");
solo.sendKey(Solo.MENU);
solo.clickOnText("New");
solo.clickOnText("Card");
solo.clickOnText("Password");
solo.enterText(0, "My password");
solo.enterText(1, "User");
solo.enterText(2, "12345");
solo.clickOnButton("Save");
assertTrue(solo.searchText("My password"));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment