This project is read-only.

Docking WPF Windows Test

Mar 26, 2009 at 1:40 PM


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.


Apr 18, 2009 at 9:37 AM
what are you choosing for dragged and dropped items.
Apr 20, 2009 at 12:57 PM
Edited Apr 20, 2009 at 1: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.


May 8, 2009 at 2:45 PM

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

sorry for late response.