On 01-Aug-08, at 4:56 PM, Mohamed Amine LIMAME wrote: > > Hi, > I installed Eclipse 3.4 on my PC. > I'am not able to use the contextMenu method of the > SWTBotEclipseEditor > class. I get a not found widget > > This my sentence that causes the exception > > SWTBotEclipseEditor editor = bot.editor("test.java"); > editor.contextMenu("Project").menu("Add file").click(); > > it works correctly with Eclipse 3.3 > > can you help me please
Does the menu actually exist ? Can you click on any other menu ? Turn on logging ? Is the string casing in the strings right ? Do you have spaces in the actual menus that are not put here ? -- Ketan ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ SWTBot-users mailing list SWTBot-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/swtbot-users http://swtbot.org/ - a functional testing tool for SWT/Eclipse