On 08-Oct-08, at 12:17 AM, Bob Mattei wrote:

> I've written a method to implement the right click.

I'd like to hear more about this. How is it different from the  
existing method ? Is it something that SWTBot does not allow you to do ?

> But I would rather do it the correct way thru Swtbot.  It's not  
> clear to me how to use the context menu if I have a tree item that  
> has a context menu what text am I specifying in  
> treeItem.contextMenu(text)?


You specify the text on the menu item you wish to click on:
tree.select("Jon, Doe").contextMenu("Delete user");

-- 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse

Reply via email to