LDTP  3.0.0
selectrowindex

Syntax

selectrowindex('<window name>', '<table name>', <row index>)

Description

Selects the row with the given index value in table. Index value starts from 0.

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

selectrowindex('dlgOpen', 'dlgFiles', 0)

Author
Nagappan Alagappan nagap.nosp@m.pan@.nosp@m.gmail.nosp@m..com


Linux Desktop Testing Project