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



doesrowexist ('<window name>', '<table name>', '<string to be matched>', no of matches)


Checks whether the table contains any row with any of its cell containing the given string as its value.Please note that it checks for an exact match.


Return values:
1 if there are rows with the given string in any of its cell, else 0.
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/table.c


from ldtp import *

With respect to the message list table in Evolution Mailer, the following call will return 1 if there is atleast one mail in the list with the given string in the subject field or sender field or in any other field for that matter.

doesrowexist ('dlgContactListMembers', 'tblContacts', 'Sample subject')

Manu <manunature@rediffmail.com>

Generated by  Doxygen 1.6.0   Back to index