Calabash Android Looping through a ListView to check -
i've started using calabash , have come across listview.
for each listview row want check presence of text , image view.
however i'm unsure how can loop through listview?
something like
foreach list_item in listview check text label id check image view id end any appreciated.
i not sure using foreach in case, based on index number in list. count of item, in loop move through them using of of 2 options
getlistview().setselection(21); for smooth scroll:
getlistview().smoothscrolltoposition(21); from post https://stackoverflow.com/a/7561660/1165581 handlerexploit
and each item check image , text.
Comments
Post a Comment