I'm using the robotium. Today I ran into with little problem. After click on button application crosses to the next activity. I need wait for appearance some button.
View am = solo.getView(R.id.btn_login);
solo.waitForCondition(am.isShown(), 5000);
This code doesn't work.
It also doesn't work if am is identified like
Button am = solo.getButton(R.id.btn_login);
Help me please figure it out!