LDTP
3.0.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: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/page-tab-list.c
from ldtp import *
For selecting Editor tab with respect to gedit preferences
selecttabindex('dlgPreferences', 'ptlPreferences', 1)