LDTP  3.0.0
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..nosp@m.joth.nosp@m.imani.nosp@m.@gma.nosp@m.il.co.nosp@m.m


Linux Desktop Testing Project