Hi, Am I right in thinking that the context menu is retrieved using the ContextMenuFinder at the getMenu() method of the Control class? If so, I wondered if/how it might support menus that weren't added via the setMenu() method. For example, the TrayItem can have a popup associated with it by adding a SWT.MenuDetect listener, but I can't think of a neat way to get this back with SWTBot...
Cheers, Toby Vincent Mahe wrote: > > Veneet a écrit : >> so i can substitute it for a right click action rite???? >> > Yes. > SWTBot has few direct accesses to the GUI layer so it proceeds mainly > with methods offered by SWT widgets, like list of the context menus. > As we want to test our applications interface with users, and not how > GTK or WIN32 work, it is a good way to write conceptual commands to the > interface, in my opinion :-). > > -- > Cordialement > > Vincent MAHÉ > > Ingénieur Plate-forme OpenEmbeDD - http://openembedd.org > IRISA-INRIA, Campus de Beaulieu, 35042 Rennes cedex, France > Tél: +33 (0) 2 99 84 71 00, Fax: +33 (0) 2 99 84 71 71 > > > ------------------------------------------------------------------------- > 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 > > > -- View this message in context: http://www.nabble.com/can-right_click-be-performed-in-SWTbot---tp19854779p21249743.html Sent from the SWTBot Users List mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ 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