LDTP
3.5.0
|
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: Linux: http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtpd/page_tab_list.py
Mac: https://github.com/ldtp/pyatom/blob/master/atomac/ldtpd/page_tab_list.py
Windows: https://github.com/ldtp/cobra/blob/master/Ldtpd/Tab.cs
With respect to Preferences dialog of gedit
from ldtp import *
selectmenuitem('*-gedit', 'mnuEdit;mnuPreferences')
gettabname('dlgPreferences', 'ptl0', 0)