LDTP
3.0.0
|
getcharcount('<window name>', '<component name>')
Return the number of characters present in the component identified by the <component name>.
number | of characters |
Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/text.c
With respect to gedit
getcharcount('gedit', 'txt0')
This will return the number of characters in the file presently open.