Logo Search packages:      
Sourcecode: ldtp-doc version File versions  Download package

getrowcount

Syntax

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

Description

Returns the number of rows present in the table mentioned

Implementation

Todo:
Return values:
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

Example

from ldtp import *

With respect to Evolution, to check no of mails

getrowcount ('frmReadOnlyMail', 'tblmails')

Author:
Bhargavi <kbhargavi_83@yahoo.co.in>

Generated by  Doxygen 1.6.0   Back to index