Android : Robotium get String using ArrayList

on Wednesday, August 13, 2014


Hi i have a listview add random string


now i can using arraylist click item but now need the item string


string is resource not text...



ArrayList<TextView> listtest = solo.getCurrentViews(TextView.class);
View lt = listtest.get(1);
String text;
text = lt.toString();
solo.clickOnView(lt);

0 comments:

Post a Comment