Recording play back can't execute the drag and drop action

Ask general questions here.
btonye
Posts: 7
Joined: Thu Jul 02, 2015 11:48 am

Recording play back can't execute the drag and drop action

Post by btonye » Thu Jul 02, 2015 12:56 pm

On my application, I have a Thumb control (System.Windows.Controls.Primitives.Thumb) that can be dragged by the user, the user can also link two Thumb control by dragging the mouse from the connector of the first control to the connector of the second.
the the drag and drop action is doing by maintain the mouse down from a location to another , and then up the mouse.
I have register theses actions on ranorex recorder but, when i'm playing the recording, it doesn't execute the drag and drop.
Can someone know what is missing?
Thanks

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Recording play back can't execute the drag and drop action

Post by Support Team » Fri Jul 03, 2015 2:37 pm

Hi btonye,

This sounds like a timing problem. May I ask you to increase the Mouse.DevaultMoveTime as shown in the following screenshot
Recorder_Defaults_MouseMoveTime.png
Recorder_Defaults_MouseMoveTime.png (21.94 KiB) Viewed 1004 times
Please note, this setting affects only new created Recordings.

If the problem still occurs, I'd like to ask you to send us a small sample of your application under test and your Ranorex Test Solution.
This helps us analyzing the problem in more detail.
Please also let me know which version of Ranorex you are currently using.
Thank you.

Regards,
Markus (S)
.
Image

btonye
Posts: 7
Joined: Thu Jul 02, 2015 11:48 am

Recording play back can't link two thumb controls

Post by btonye » Sat Jul 11, 2015 11:26 am

A thumb control is a wpf control that can be dragged by the user.
In my application, i can link two thumb controls (by dragging the mouse from the connector of the first control to the connector of the second).Ranorex can also record this action, but the recording play back can't replay the action. The test doesn't failed but my two thumb controls remain unlinked.
I need a solution, thanks for considering my request.

btonye
Posts: 7
Joined: Thu Jul 02, 2015 11:48 am

Re: Recording play back can't execute the drag and drop action

Post by btonye » Sat Jul 11, 2015 1:51 pm

IT NOW WORK! BUT WITH 1500 ms ,
THANKS VERY MUCH.