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

Example

With respect to Preferences dialog of gedit

from ldtp import *

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

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

Author
Nagappan Alagappan nagap.nosp@m.pan@.nosp@m.gmail.nosp@m..com


Linux Desktop Testing Project