public void clickOnToggleButton ( String text ) { if ( config . commandLogging ) { Log . d ( config . commandLoggingTag , "clickOnToggleButton(\"" + text + "\")" ) ; } clicker . clickOn ( ToggleButton . class , text ) ; }
Clicks a ToggleButton displaying the specified text .