LDTP
3.5.0
|
selecttabindex('<window name>', '<tab list name>', <index of the tab>)
Select a particular tab in the list of tabs
1 | if the tab is selected, |
otherwise | LdtpExecutionError will be thrown |
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
from ldtp import *
For selecting Editor tab with respect to gedit preferences
selecttabindex('dlgPreferences', 'ptlPreferences', 1)