[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [QF-Test] Drag and Drop HTML 5 - cannot have it working
Hi Gwen, take care that in both mouse events should be modifier=16, click-count=1. Best Regards, Martin --On Dienstag, März 18, 2014 10:52:25 +0000 Gwenael Plantefeve <gwen0504@?.com> wrote: Hi Martin, Thanks for your reply but It still doesn't work: Here is my test case as you recommended: <TestCase id="_5fB" name="DragNDropWeb"> <SelectionEventStep client="$(client)" component="Eureka" detail="goto:http://html5demos.com/drag" event="SELECTION" id="_5fP"/> <DocumentWaiter client="$(client)" component="html5demos.com" id="_5fQ" predelay="3000" timeout="60000"/> <MouseEventStep clicks="1" client="$(client)" component="one" event="MOUSE_DRAG_FROM" id="_5gA" modifiers="0"/> <MouseEventStep clicks="1" client="$(client)" component="bin" event="MOUSE_DROP_TO" id="_5fY" modifiers="16" x="124" y="81"/> </TestCase> The DragFrom event sits there forever. You have to move the mouse, so QF Test finally times out, with following message: "Possible Deadlock" The previous operation timed out It's very likely that the client 'xxx' went into a deadlock For information, I am running version 3.5.92 (build 5102) I would very appreciate some help on this issue. Can you make it work on this sample web page: http://html5demos.com/drag Gwen Le Mardi 18 mars 2014 8h55, Martin Moser <> a écrit : Hi Gwen, for Drag&Drop your should proceed as follows: 1. Record a click on the source component. 2. Record a click on the target component. 3. Then modify the 'Event details' of the click on the source component to 'DRAG_FROM'. 4. Then modify the 'Event details' of the click on the target componen to 'DROP_TO'. Best Regards, Martin -- Martin Moser Development & Support E: martin.moser@?.de T: +49 (0)8171 38648-14 F: +49 (0)8171 38648-16 Quality First Software GmbH | www.qfs.de Tulpenstr. 41 | 82538 Geretsried | Germany GF Gregor Schmid, Karlheinz Kellerer HRB München 140833
|