SWTbot finds the wrong "Project" menu item. It finds the one that is located in Search -> Text . to do this we must specify the depth of the menu we are looking for and it gives us :
bot.menu("Project",1).menu("Run").click();; On Sun, Aug 18, 2013 at 10:29 AM, Imad Sabaany <imad.saba...@gmail.com>wrote: > > Hi, > I try to test RCP application with swtbot and I have the > "ErrorWidgetNotFoundException" when I try to run the project through: > bot.menu("Project").menu("Run").click(); > Although it's activated and Although I can get to the other widget Like : > bot.menu("File").menu("Import...").click(); > I work with Kepler and have swtbot 2.1.1. > thanks > > > > _______________________________________________ > swtbot-dev mailing list > swtbot-dev@eclipse.org > https://dev.eclipse.org/mailman/listinfo/swtbot-dev > >
_______________________________________________ swtbot-dev mailing list swtbot-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/swtbot-dev