LDTP
3.0.0
|
getrowcount('<window name>', '<table name>')
Returns the number of rows present in the table mentioned
number | of rows present in the table on success, else -1 |
Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/table.c
Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/tree-table.c
from ldtp import *
With respect to Evolution, to check no of mails
getrowcount('frmReadOnlyMail', 'tblmails')