LDTP
3.5.0
|
appendtext('<window name>', '<component name>', '<text>')
Appends the given text with already present text
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 structure
appendtext('gedit','txtmain','Sample text')
This to append 'Sample text' to the 'main' text box contents in gedit