getcharcount

Syntax

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

Description

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

Implementation

Return values:
number of characters
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/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>


Linux Desktop Testing Project