LDTP  3.5.0
 All Pages
appendtext

Syntax

appendtext('<window name>', '<component name>', '<text>')

Description

Appends the given text with already present text

ImplementationDetails

Return values
1on 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

Example

With respect to gedit structure

appendtext('gedit','txtmain','Sample text')

This to append 'Sample text' to the 'main' text box contents in gedit

Author
Shagan shaga.nosp@m.n.gl.nosp@m.are@g.nosp@m.mail.nosp@m..com


Linux Desktop Testing Project