I have a "Call Us" hyperlink in a TextView. When the user clicks on it a dailog box is opened with two buttons "OK" and "Cancel". I am trying to test this feature using robotium but solo.clickOnText("Call Us") does not open the dialog box nor does it display an error saying text not found. Any help would be appreciated.
Thanks.
solo.scrollDown();
assertTrue(solo.searchText("Call Us"));
solo.clickOnText("Call Us");
This is pretty much the code I am trying to execute. The dialog is not displayed on screen after robotium has finished executing this code.