I use Robotium as the library for Junit test for my Android application. I wrote some tests which works well. But when I try to write a test for native ActionBar\'s
You can click the Up/Home button (that is the first ImageButton element in the activity) by using the following code:
solo.clickOnImageButton(0); instrumentation.waitForIdleSync();