Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Cannot find Toolbar button in property view
Cannot find Toolbar button in property view [message #891752] Mon, 25 June 2012 15:02 Go to next message
Abu Zak is currently offline Abu Zak
Messages: 11
Registered: February 2010
Junior Member
Hi,

I'm trying to click the property-view toolbar button "Show Advanced Properties".

I get a handle to the view. However I can't get a handle to the toolbar button with tooltip "Show Advanced Properties".

I've tried several things. None seems to work.

Any help will be appreciated:

SWTBotView propertyViewBotView = swtGefBot.viewById(PROPERTY_VIEW_ID);
SWTBotToolbarButton button = propertyViewBotView.bot().toolbarButtonWithTooltip("Show Advanced Properties");

SWTBotToolbarButton button2 = propertyViewBotView.bot().toolbarToggleButtonWithTooltip("Show Advanced Properties");

Thanks
Re: Cannot find Toolbar button in property view [message #892282 is a reply to message #891752] Wed, 27 June 2012 11:17 Go to previous messageGo to next message
Abu Zak is currently offline Abu Zak
Messages: 11
Registered: February 2010
Junior Member
Any feedback will be appreciated
Re: Cannot find Toolbar button in property view [message #892669 is a reply to message #892282] Fri, 29 June 2012 02:08 Go to previous message
Timur Achmetow is currently offline Timur Achmetow
Messages: 38
Registered: April 2012
Member
I have used it so:
private static final SWTWorkbenchBot BOT = new SWTWorkbenchBot();
BOT.toolbarButtonWithTooltip("text").click();
Previous Topic:How to add external jar file into Plug-in Dependencies hierarchy under SWTBot Test Plug-in project
Next Topic:Right click in Table
Goto Forum:
  


Current Time: Thu Apr 17 05:38:39 EDT 2014

Powered by FUDForum. Page generated in 0.01709 seconds