LDTP  2.3.1
selectrow

Syntax

selectrow('<window name>', '<table name>', '<value of row in first column>')

Description

Selects the row in table whose first column's(0th column) value is same as the contents of the third argument in the function call.

ImplementationDetails

Return values:
1on success and 0 on error.

Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/table.c http://cgit.freedesktop.org/ldtp/ldtp/tree/src/tree-table.c

Example

from ldtp import *

With respect to gedit open dialog

selectrow('dlgOpen', 'dlgFiles', 'readme')

Author:
Nagappan Alagappan <nagappan@gmail.com>