Logo QF-Test

Finding valuable answers
in the Mailing List Archive.

 

Free Trial  Download  Buy

Thomas Max, QF-Test training and support

Use the full-text search on our web site to find helpful tips on the mailing list.

Thomas Max, 
Sr. Software Engineer & Trainer, QFS

2017 up to now  | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 2014


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

Re: [QF-Test] Drag and Drop HTML 5 - cannot have it working


  • Subject: Re: [QF-Test] Drag and Drop HTML 5 - cannot have it working
  • From: Cojanu Cosmin <Cosmin.Cojanu@?.com>
  • Date: Tue, 18 Mar 2014 15:44:32 +0000

Hi Gwenael,

 

Not sure if this works for HTML but this was the only way I managed to make it work on a Swing based application.

 

Mouse event: MOVED (source component that needs to be dragged)

Mouse event: PRESSED (source component that needs to be dragged)

Mouse event: DRAGGED (target component)

Mouse event: RELEASED (target component)

 

Regards,

Cosmin

 

From: qftest-list-bounces@?.de [mailto:qftest-list-bounces@?.de] On Behalf Of Gwenael Plantefeve
Sent: Tuesday, March 18, 2014 11:52 AM
To: Martin Moser; qftest-list@?.de
Subject: Re: [QF-Test] Drag and Drop HTML 5 - cannot have it working

 

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




Videos Downloads Documentation Buy Free Trial