Skip to main content


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 19:02 Go to next message
Abu Zak is currently offline Abu ZakFriend
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 15:17 Go to previous messageGo to next message
Abu Zak is currently offline Abu ZakFriend
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 06:08 Go to previous message
Timur Achmetow is currently offline Timur AchmetowFriend
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 18 04:16:35 GMT 2024

Powered by FUDForum. Page generated in 0.01869 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top