gettablerowindex

Syntax

gettablerowindex ('<window name>','<component name>','<tablename>','<cellvalue>')

Description

Returns the id of the row containing the given <cellvalue>

Implementation

Return values:
Return id of the row containing the given cell value, if it is found else return -1
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/table.c

Example

In case of Evolution Calendar, to select the category form the list of categories

gettablerowindex ('dlgMeeting','dlgCategories','tblCategoryList','Business')

The above call would return the row id of the cell containing Business.

Author:
Premkumar J <prem.jothimani@gmail.com>


Linux Desktop Testing Project