generatekeyevent

Syntax

generatekeyevent ('<data>')

Description

Functionality of generatekeyevent is similar to typekey of LTFX project.

Implementation

Used SPI_generateKeyboardEvent to generate the keyboard events.

Return values:
Returns 1 on success, LdtpExecutionError exception will be thrown on failure
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/device.c

Example

generatekeyevent ('Testing LDTP\'s enterstring function')

Author:
Prashanth Mohan <prashmohan@gmail.com>


Linux Desktop Testing Project