Docking WPF Windows Test

Mar 26, 2009 at 12:40 PM

Hello,

I am using White to test a WPF Application. The main window of this application contains panels, which can be moved (dragged and dropped) outside that main window (undocked). Can somebody tell me how can I automate this issue. I have tried “Window.Mouse.DragAndDrop(UIItem, UIITem)” put it does not work.

Thanks!

Coordinator
Apr 18, 2009 at 8:37 AM
what are you choosing for dragged and dropped items.
Apr 20, 2009 at 11:57 AM
Edited Apr 20, 2009 at 12:16 PM

The dragged item is a panel which will be converted to a window after undocking it (dragging it) out of the main window. The Drop item is a side bar.

Actually what I want to automate is dragging a panel out of the main window of the application (undocking a panel).  I have tried to use the Mouse.LeftDown() and the Mouse.LeftUp() but it did not work neither.  I have posted this issue in the discussion on Apr 7 at 10:09 AM (discussion:52515), but unfortunately I haven’t received any answer.

 

Coordinator
May 8, 2009 at 1:45 PM

Is it possible for you to post a sample code for this.

sorry for late response.