LDTP  3.5.0
 All Pages
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: 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

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