In an Eclipse 3.7 RCP app, I would like to get the Default perspective switcher button via id for SWTBot/unit testing purposes to get around this:
assertNotNull("PerspectiveBar not visisble", bot.toolbarButtonWithTooltip("Perspektive öffnen"));
How do I find out the id of the button to be able to use
assertNotNull("PerspectiveBar not visisble", bot.toolbarButtonWithId("somekey", "someid"));
Or: is there a better (internationalization-independent) way to do this, may setting key/id of this button by myself?
Thx.