android - How to validate a view or layout in robotium -
i have showing different view in android application how validate weather view or whole layout present or not using robotium in android.
you can check using assertequals
. there can compare :
asserequals("desired view not visible", yourview.getvisiblity(),view.visible);
here, view yourview = findviewbyid(r.id.yourviewid);
Comments
Post a Comment