Drag and Drop Operations

This functionality is supported only if you are using the Classic Agent.

Silk Test Classic supports drag-and-drop operations on Windows. Drag-and-drop operations have three distinct parts:

The target location can be a logical location, that is, an identifiable object in a listview, treeview, or list box, or it can be a physical location specified by x, y coordinates in a window.

Five methods support drag-and-drop operations:

BeginDragAt and EndDragAt are general methods that work for any window. They move an item to a physical target location and operate between windows of the same application or a different application. We recommend that you use care when recording drag-and-drop operations. Do the testcase setup carefully, and while recording, avoid extraneous movements.

EndDrag and BeginDrag apply only to list box, listview, and treeview controls. They move an item to a logical target location and operate between windows of the same application or a different application.

DragMouse combines the functionality of the begin and end drag methods. However, DragMouse operates only within a single window.