Skip to main content



      Home
Home » Archived » Jubula » Click on item in already opened context menu
Click on item in already opened context menu [message #947946] Wed, 17 October 2012 11:50 Go to next message
Eclipse UserFriend
Hi,

we are using jubulas drag and drop actions to test our GEF based diagram editor. As a side-effect of this dnd operation, a context menu will be opened after the drop step.

We didn't find a way to select an item in an already opened context menu. Did I miss something? Currently we are using the arrow-key workaround mention by Oliver. However this leads to very unstable tests because we are specifying the tests on a windows machine and running them on a linux box: The number of times the down-arrow key has to pressed differs from windows to linux (on windows the first item of the context menu is already selected whereas on linux it is not).

Any recommendations?

Best regards,
Andreas
Re: Click on item in already opened context menu [message #953750 is a reply to message #947946] Mon, 22 October 2012 10:00 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

You didn't miss anything, no. There's currently no separate action to select from an already open context menu. After a quick chat with the guys, we have two ideas-
1. If you don't want to extend Jubula, then you could perhaps link modifier key presses during drag and drop to specific options in the context menu (which would be a change to the AUT)
2. You could extend the "Application" component to select from an already open context menu. There shouldn't be any problem with this, it's just that we haven't done it. The place in the code to look would be:
http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/tree/org.eclipse.jubula.rc.swt/src/org/eclipse/jubula/rc/swt/implclasses/AbstractControlImplClass.java#n461

According to Markus, you could implement the action analogously to this, just without the showPopup().

HTH,
Alex (and Markus)
Re: Click on item in already opened context menu [message #957639 is a reply to message #953750] Thu, 25 October 2012 07:30 Go to previous messageGo to next message
Eclipse UserFriend
Hi Alex,

thanks for the detailed information! I'll have a look at 2).

Best regards,
Andreas
Re: Click on item in already opened context menu [message #989078 is a reply to message #947946] Tue, 04 December 2012 09:47 Go to previous messageGo to next message
Eclipse UserFriend
Just wanted to mention that I implemented the feature and opened the corresponding eclipse bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=395719.

[Updated on: Tue, 04 December 2012 09:50] by Moderator

Re: Click on item in already opened context menu [message #989087 is a reply to message #989078] Tue, 04 December 2012 10:12 Go to previous message
Eclipse UserFriend
Thanks for the update and for the enhancement!
Previous Topic: Jubula UI Tests with multiple developers
Next Topic:Using swt toolkit
Goto Forum:
  


Current Time: Fri Apr 25 08:29:15 EDT 2025

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

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

Back to the top