LDTP  3.0.0
gettreetablerowindex

Syntax

gettreetablerowindex('<window name>', '<tree table name>', '<name of a table cell>')

Description

Used to obtain the index of any table cell whose whose name is give in the last field.

ImplementationDetails

Return values
indexof table cell, else -1.

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

Example

from ldtp import *

With respect to the tree table in Mail in Evolution

i = gettreetablerowindex('Evolution', 'treetblMail', 'Cabinet')

here 'i' will be having the index of the Cabinet which is a table cell under tree table mail.

Author
Aginesh sragi.nosp@m.nesh.nosp@m.@nove.nosp@m.ll.c.nosp@m.om


Linux Desktop Testing Project