LDTP  2.3.1
getcharcount

Syntax

getcharcount('<window name>', '<component name>')

Description

Return the number of characters present in the component identified by the <component name>.

ImplementationDetails

Return values:
numberof characters

Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/text.c

Example

With respect to gedit

getcharcount('gedit', 'txt0')

This will return the number of characters in the file presently open.

Author:
Premkumar J <prem.jothimani@gmail.com>