public boolean verifyText ( String stringId ) { String text = desktopUtils . getString ( stringId , true /* skipAmpersand */ ) ; return getText ( ) . equals ( text ) ; }
Checks if widget text equals the text specified by the given string id