gettabname

Syntax

gettabname ('<window name>', '<tab list name>', <index>)

Description

Returns the page tab name of the given index in a page tab list

Return values:
tab name is returned on success, LdtpExecutionError on failure
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/page-tab-list.c

Example

With respect to Preferences dialog of gedit

from ldtp import *

selectmenuitem ('*-gedit', 'mnuEdit;mnuPreferences')

gettabname ('dlgPreferences', 'ptl0', 0)

Author:
Nagappan A <nagappan@gmail.com>


Linux Desktop Testing Project