LDTP  3.5.0
 All Pages
simulatemousemove

Syntax

simulatemousemove(<source_x>, <source_y>, <dest_x>, <dest_y>[, delay = 0.0])

Description

Simulate the mouse move, as if the user is moving from source to destination

Return values
Returns1 on success, LdtpExecutionError exception will be thrown on failure

Refer: Linux: http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtpd/mouse.py

Mac: https://github.com/ldtp/pyatom/blob/master/atomac/ldtpd/mouse.py

Windows: https://github.com/ldtp/cobra/blob/master/Ldtpd/Mouse.cs

Example

mousemove(0, 0, 100, 100)

Author
Nagappan Alagappan nagap.nosp@m.pan@.nosp@m.gmail.nosp@m..com


Linux Desktop Testing Project