Mailing list - Entries of 2005

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [qftestJUI] Drag & Drop problems with Sun's tutorial smaple ExtendedDnDDemo

  • Subject: Re: [qftestJUI] Drag & Drop problems with Sun's tutorial smaple ExtendedDnDDemo
  • From: Karlheinz Kellerer <Karlheinz.Kellerer@?.de>
  • Date: Wed, 31 Aug 2005 09:17:02 -0000

Hi Wojciech,

"Wojciech Rzasa" <wojciech.rzasa@?.com> writes:

>    Hi Folks,
>    I have problems recording and playing back a simple drag&drop test
>    using Sun's sample
>    [1]file:///C:/j2sdk1.4.2_04/docs/tutorial/uiswing/misc/example-1dot4/i
>    ndex.html#ExtendedDnDDemo.
>    My test case is really quite simple: I just start the class
>    ExtendedDnDDemo, select a part of the text in the text panel and drag
>    it into the list panel below. When playing back the script, the text
>    either is not inserted at all or inserted not at the right position
>    but at the end of the list.
>    I tried a lot of different combinations of settings for events packing
>    etc. but none worked. Does anybody have an idea how to configure
>    qftestJUI?

Drag&Drop is a bit tricky with Java. qftestJUI is able to simulate D&D, also
recording of D&D has been improved significantly within the last versions.
However recording it is still not possible in all situations and some manual
adaptions may be necessary to get the replay work.

This is also explained in detail in the technical details part of the manual
"20.1 Drag&Drop".

The D&D behavior of the ExtendedDndDemo example is also a bit special, but with
a few manual adaptions (DRAG_FROM, DROP_TO nodes) replay is working fine.

Please find attached a small testsuite with working D&D sequences for all parts of
the demo. I hope this helps to better understand what need to be done.

You may need to adapt the path to your java webstart executable in the "Start
SUT client" node to get it working.

Best regards,

Karlheinz Kellerer                     Karlheinz.Kellerer@?.de
Quality First Software GmbH          

Attachment: extended_dnd_demo.qft
Description: Binary data