LDTP  2.3.1
pastetext

Syntax

pastetext('<window name>', '<component name>', <position>)

Description

paste the text from the position specified in the component given by the component name

ImplementationDetails

Return values:
1on success and 0 otherwise

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

Example

With respect to gedit tool structure

pastetext('gedit', 'txtName', 1)

This is to paste the text from the position specified in the 'txtName' field.

Author:
Kamakshi <poorvakrishna@yahoo.com>