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

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -