LDTP  3.5.0
 All Pages
mousemove

Syntax

mousemove('<window name>', '<object name>')

Description

Tries to grab focus of the object, then move the mouse to the center of object

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('*-gedit', 'btnOpen')

Author
Prashanth Mohan prash.nosp@m.moha.nosp@m.n@gma.nosp@m.il.c.nosp@m.om


Linux Desktop Testing Project