Jonathan Crissey
unread,Jun 13, 2013, 7:06:33 PM6/13/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to robotium-...@googlegroups.com
this is my solution using the solo.drag method
int screenWidth = getActivity().getWindowManager().getDefaultDisplay().getWidth();
int screenHeight = getActivity().getWindowManager().getDefaultDisplay().getHeight();
int fromX, toX, fromY, toY = 0;
fromX = screenWidth-4;
toX = screenWidth-4;
fromY = (screenHeight/4);
toY = (screenHeight - 4);
solo.sleep(1000);
//scroll down a bit to display fast scroll bar
solo.scrollDown();
//scroll all the way to the bottom
solo.drag(fromX, toX, fromY, toY, 40);