Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » Should I see the dragged node during a dragNdrop?
Should I see the dragged node during a dragNdrop? [message #1012974] Fri, 22 February 2013 14:55 Go to next message
Andre Renard is currently offline Andre RenardFriend
Messages: 20
Registered: February 2013
Junior Member
I am dragging a node of a Tree Table onto another node of the same Tree Table. The drop should open a window. Although the drag and the drop were successful, Jubula stunted on WaitForWindow. The dragged object was not shown in Jubula but well if I am doing the same operation by hand. Is it normal?

[Just in case it could help: The called window is an org.eclipse.jface.dialogs.MessageDialog using the MessageDialog.openConfirm method via a ViewerDropAdapter]

Test Case: Drag
index.php/fa/13518/0/

Test Case: Drop
index.php/fa/13519/0/

Test result:
index.php/fa/13520/0/

AUT after failed test
index.php/fa/13521/0/
  • Attachment: drag.png
    (Size: 35.77KB, Downloaded 151 times)
  • Attachment: drop.png
    (Size: 35.30KB, Downloaded 148 times)
  • Attachment: test result.png
    (Size: 17.44KB, Downloaded 160 times)
  • Attachment: AUT after test.png
    (Size: 24.40KB, Downloaded 146 times)

[Updated on: Fri, 22 February 2013 15:12]

Report message to a moderator

Re: Should I see the dragged node during a dragNdrop? [message #1014996 is a reply to message #1012974] Wed, 27 February 2013 07:41 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1193
Registered: July 2009
Senior Member
Hi,

You should indeed see that the node was dragged and dropped - from your screenshots it looks like the drag and drop does not actually happen. I wonder whether this has anything to do with the tree being a tree table - are you able to drag and drop on plain trees?

Best regards,
Alex
Re: Should I see the dragged node during a dragNdrop? [message #1015001 is a reply to message #1014996] Wed, 27 February 2013 07:52 Go to previous messageGo to next message
Andre Renard is currently offline Andre RenardFriend
Messages: 20
Registered: February 2013
Junior Member
Hi Alex,
I will try on a simple tree. But this functionality is also part of a table tree, isn't it?
Best regards
Andre
Re: Should I see the dragged node during a dragNdrop? [message #1015658 is a reply to message #1015001] Fri, 01 March 2013 14:56 Go to previous messageGo to next message
Andre Renard is currently offline Andre RenardFriend
Messages: 20
Registered: February 2013
Junior Member
Hi Alex,
With SWT Trees thes Test Cases worked (but were not recorded).
So it seems our Tree Table is not standard enough for Jubula.
Andre
Re: Should I see the dragged node during a dragNdrop? [message #1015894 is a reply to message #1015658] Mon, 04 March 2013 08:21 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1193
Registered: July 2009
Senior Member
Hi Andre,

Reading your last post I realized that you've been recording the steps - have you tried manually specifying the drag and drop actions? (If you've not done manual specification before, I'd recommend doing the cheat sheets from the help menu - start with the "First Steps" one). It could be the case that the recording of these actions isn't totally supported.

Best regards,
Alex
Re: Should I see the dragged node during a dragNdrop? [message #1015897 is a reply to message #1015894] Mon, 04 March 2013 08:35 Go to previous messageGo to next message
Andre Renard is currently offline Andre RenardFriend
Messages: 20
Registered: February 2013
Junior Member
Hi Alex,
In fact, the recording does not work. Thus I used the manual test cases (tried several ones). All failed on this table tree. I tried with simpler (SWT) trees and here too the recording failed but the manual test cases worked.
André
Re: Should I see the dragged node during a dragNdrop? [message #1015907 is a reply to message #1015897] Mon, 04 March 2013 08:57 Go to previous message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1193
Registered: July 2009
Senior Member
Hi,

It might be worth putting an issue into bugzilla for this then (the fact that drag and drop does not work on tree tables). If your developers can provide a small example AUT to exemplify the problem, that would make finding the cause much easier, I think.

Best regards,
Alex
Previous Topic:Some SWT tree nodes are not selected with Select Node by...
Next Topic:Jubula test case/test steps data model
Goto Forum:
  


Current Time: Tue Dec 23 03:50:59 GMT 2014

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

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