jeudi 30 juin 2016

Android:Robotium:have two tabhosts on screen

I have two tabhosts on screen.
The tabs view is android.R.id.tabs.
I use
ViewGroup tabs = (ViewGroup) solo.getView(android.R.id.tabs);
View viewYouWantToDoStuffWith = tabs.getChildAt(x);
solo.clickOnView(viewYouWantToDoStuffWith);
just can only control one.
How can i do this with solo?

Aucun commentaire:

Enregistrer un commentaire