inserttext

Syntax

Insert ('<window name>', '<component name>', <position>, '<text>')

Description

Insert the text in the specified position in the component given by the component name

Implementation

Return values:
1 on success and 0 otherwise
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/text.c

Example

With respect to gedit

inserttext ('*-gedit', 'txt0', 5, 'sample text')

This is to insert the given text at the specified position in the 'txtName' field.

Author:
Premkumar J <prem.jothimani@gmail.com>


Linux Desktop Testing Project