2gis / Winium.Cruciatus

C# Framework for automated testing of Windows application based on WinFroms and WPF platforms.
Mozilla Public License 2.0
137 stars 66 forks source link

Adding support for dragAndDrop functionality #60

Open amolpathak224 opened 8 years ago

amolpathak224 commented 8 years ago

Added MouseDown and MouseUp events for dragAndDrop functionality

WMaxZimmerman commented 8 years ago

Is this update available/exposed through NuGet? I am working on a project and added a LeftDragAndDrop method to the CuciatusFactory.MouseSimulatorExt as I didn't see anyway to access the LeftButtonDown method otherwise.

amolpathak224 commented 8 years ago

Yes you are right, I could not find any way to do it either, so I have added the support for MouseUp and MouseDown methods in MouseSimulatorExt.cs, to support the drag and drop functionality in Winium.Desktop project. I have compiled the changes locally and included in Winium.Desktop project.