public void clickOnActionBarItem ( int resourceId ) { sleeper . sleep ( ) ; Activity activity = activityUtils . getCurrentActivity ( ) ; if ( activity != null ) { inst . invokeMenuActionSync ( activity , resourceId , 0 ) ; } }
Clicks on an ActionBar item with a given resource id