LDTP
3.0.0
|
inserttext('<window name>', '<component name>', <position>, '<text>')
Insert the text in the specified position 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
inserttext('*-gedit', 'txt0', 5, 'sample text')
This is to insert the given text at the specified position in the 'txtName' field.