Posts

Showing posts from June, 2020

Dragg and Drop on Winapp driver and Appium

Scenario The basic scenario here is having a windows desktop application with the drag and drop capability. Testing this application, you are using Appium over Winappdriver. The test I am attending to perform is a simple drag and drop. The above setting and scenario, isn't rare! actually it is a common case in desktop apps, that it is why it is so troubling to find that drag and drop is an issue. Searching the web, I found many ways of accomplishing the D&D, which basically I can split to two groups, the first one is using the driver.Mouse actions, where I will use a mouseDown, mouseMove and MouseUp, the second method will use the Actions object and will consist of actions.dragAndDrop() (Yes, there is such a function), or will do it the long way of Actions.ClickAndHold().MoveTo().Release(). But it seems that in some cases, both approaches just don't work. Let me be clear, this is a HUGE bug! There is a workaround, but it is a huge bug (especially when having a non working a...