I have a ListView that contains a number of Book objects. If I click on one of the Books in the ListView then it should take me to a new page with the details of the Book (ie. title, author, isbn, etc.) I want to test that this functionality works using robotium but I can't seem to figure out how. I've tried using
solo.clickInList(POSITION_IN_LIST);
(I only have the one list on this activity) but it does not seem to go to the next activity because my assertion of the current Activity afterward always fails and displays the error message. Any help would be much appreciated.