LDTP  2.3.1
mouseleftclick

Syntax

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

Description

Tries to grab focus of the object, then move the mouse to the center of object and does a left click

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

Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/device.c

Example

mouseleftclick('*-gedit', 'btnOpen')

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


Linux Desktop Testing Project