LDTP
3.0.0
|
pastetext('<window name>', '<component name>', <position>)
paste the text from the position specified in the component given by the component name
1 | on success and 0 otherwise |
Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/text.c
With respect to gedit tool structure
pastetext('gedit', 'txtName', 1)
This is to paste the text from the position specified in the 'txtName' field.