static void getAllImageButtons() {
ArrayList allImageButton = solo
.getCurrentViews(ImageButton.class);
print(“Total ImageButtons:” + allImageButton.size());
for (ImageView vImageButton : allImageButton) {
if (vImageButton.getVisibility() == View.VISIBLE) {
print(“Image Button ID: “ + vImageButton.getId() + “Tag: “
+ vImageButton.getTag().toString() + ” Visibility:”
+ vImageButton.getVisibility() + “View String: “
+ vImageButton.toString());
}
}
}
hi