La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous abonner à la newsletter :
abonner à la newsletter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [QF-Test] Drag and Drop HTML 5 - cannot have it working
Hello Gwen, normally DRAG_FROM/DROP_TO should do the trick because it works at OS level like a real user does. However, in this special case I could confirm your problem that the DRAG_FROM hangs. I guess that there's some Javascript code that blocks the event thread of the browser, waiting for the drag to continue while QF-Test waits for the Thread to become available. There are ways to work around that. I'll look into it and get back to you. Best regards, Greg Gwenael Plantefeve <gwen0504@?.com> writes: > Hi, > > NO LUCK: I did set up modifier=16 and click-count=1 on both events "MOUSE_DRAG_FROM" and > "MOUSE_DROP_TO" > > Please, could you confirm it works on your side on the following HTML page http://html5demos.com/ > drag# > (or any online web page that enables drag'n drop feature). > Provide me the script so I can have it to work on my machine. > > If Qf Test does NOT support Drag And Drop under HTML, that would be a dead end issue on evaluating > the product. > > Gwen > > Le Mardi 18 mars 2014 17h23, Martin Moser <martin.moser@?.de> a écrit : > 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 -- Gregor Schmid E: gregor.schmid@?.de T: +49 (0)8171 38648-11 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
|