LDTP
3.5.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: Linux: http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtpd/text.py
Mac: https://github.com/ldtp/pyatom/blob/master/atomac/ldtpd/text.py
Windows: https://github.com/ldtp/cobra/blob/master/Ldtpd/Text.cs
With respect to gedit tool structure
pastetext('gedit', 'txtName', 1)
This is to paste the text from the position specified in the 'txtName' field.