LDTP
2.3.1
|
gettabname('<window name>', '<tab list name>', <index>)
Returns the page tab name of the given index in a page tab list
tab | name is returned on success, LdtpExecutionError on failure |
Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/page-tab-list.c
With respect to Preferences dialog of gedit
from ldtp import *
selectmenuitem('*-gedit', 'mnuEdit;mnuPreferences')
gettabname('dlgPreferences', 'ptl0', 0)