LDTP  3.5.0
 All Pages
getrowcount

Syntax

getrowcount('<window name>', '<table name>')

Description

Returns the number of rows present in the table mentioned

Return values
numberof rows present in the table on success, else -1

Refer: Linux: http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtpd/table.py

Mac: https://github.com/ldtp/pyatom/blob/master/atomac/ldtpd/table.py

Windows: https://github.com/ldtp/cobra/blob/master/Ldtpd/Tree.cs

Example

from ldtp import *

With respect to Evolution, to check no of mails

getrowcount('frmReadOnlyMail', 'tblmails')

Author
Bhargavi kbhar.nosp@m.gavi.nosp@m._83@y.nosp@m.ahoo.nosp@m..co.i.nosp@m.n


Linux Desktop Testing Project