Automation Guide
Action-based testing language
TestArchitect Automation Classes
Automation classes
AbtEntity
The requested page is not available for selected version.
DragMouse
Syntax
long DragMouse(int x1, int y1, int x2, int y2)
Description
Perform a drag-and-drop operation from one specified location within the window to another.
Parameters
x1
Horizontal position of starting point of drag operation (units: pixels, relative to left edge ofwindow).
y1
Vertical position of starting point of drag operation (units: pixels, relative to top edge ofwindow).
x2
Horizontal position of destination of drag operation (units: pixels, relative to left edge ofwindow).
y2
Vertical position of destination of drag operation (units: pixels, relative to top edge ofwindow).
Return Value
Return 0 ifthe drag-and-drop is successful; otherwise, -1.