LDTP
3.0.0
|
selectrowindex('<window name>', '<table name>', <row index>)
Selects the row with the given index value in table. Index value starts from 0.
1 | on 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
from ldtp import *
With respect to gedit open dialog
selectrowindex('dlgOpen', 'dlgFiles', 0)