Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Menus and Mac
Menus and Mac [message #31333] Fri, 03 April 2009 11:09
Jens Bendisposto is currently offline Jens BendispostoFriend
Messages: 1
Registered: July 2009
Junior Member
Hello,

I tried to open the Preferences Dialog, but I get a WidgetNotFoundException when
trying

bot.menu("Eclipse").menu("Preferences...").click();

I tracked down the problem to the first call of menu.
The following line fails as well:
SWTBotMenu menu = bot.menu("Eclipse");

Note, that on Mac computers the Preferences are in a different location.

The call:
bot.menu("File").menu("Open File...").click();

works.

Is there any way to figure out which widgets are available? This would be a
great help for debugging.


Best Regards,
Jens
Previous Topic:How to click a link in a view
Next Topic:Improvements for testing RCP applications
Goto Forum:
  


Current Time: Thu Apr 25 08:03:44 GMT 2024

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

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

Back to the top