Testing Drag and Drop [message #695204] |
Mon, 11 July 2011 09:18 |
Eclipse User |
|
|
|
Originally posted by: Thomas Forster
Hi,
my first impression: Great tool!
Here is my question: I want to test a dnd scenario in my application.
Actually I have two treeviewers where I drag an item in the left one and
drop it into the right one.
I tried all the ub_tre_dragAndDrop_ (by text and by indexpath) test
cases and the drag seems to work, the source node is found. But the drop
fails and I think the problem is that my target treeviewer is empty -
the test result shows that "drop on node" fails. How do I have to
specify the drop part of the TestCase if the target viewer is initially
empty?
Regards
Thomas
|
|
|
|
Re: Testing Drag and Drop [message #695263 is a reply to message #695215] |
Mon, 11 July 2011 11:37 |
Eclipse User |
|
|
|
Originally posted by: Thomas Forster
Am 11.07.2011 11:47, schrieb Zeb Ford-Reitz:
> Hi Thomas,
>
> Since you're only interested in dropping on the component itself (and
> not on a specific node inside of the component), you should be able to
> use the unbound module "ub_grc_drop".
>
> - Zeb
Hi Zeb,
thank you
- a combination of "ub_tre_dragNode_byTextpath" and "ub_grc_drop" did it
Thomas
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04001 seconds