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://webcvs.freedesktop.org/ldtp/ldtp/src/table.c
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/tree-table.c
from ldtp import *
With respect to Evolution, to check no of mails
getrowcount ('frmReadOnlyMail', 'tblmails')