LDTP
3.5.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: Linux: http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtpd/table.py
Mac: https://github.com/ldtp/pyatom/blob/master/atomac/ldtpd/table.py
Windows: https://github.com/ldtp/cobra/blob/master/Ldtpd/Tree.cs
from ldtp import *
With respect to gedit open dialog
selectrowindex('dlgOpen', 'dlgFiles', 0)