I am using Robotium for android UI automation. I am stuck at a point
where i am trying to click on a button in the application that is
initially disabled. Robotium fails to find the text or button. I am
trying the following code.
if (solo.searchText(".*android.*"))
{
solo.clickOnText(".*android.*");
}
else solo.goBack();
Clicking on the button will enable it. Thanks in advance.
Try this :