LDTP  2.3.1
selecttab

Syntax

selecttab('<window name>', '<tab list name>', '<tab name>')

Description

Select the given tab name in the tab list

ImplementationDetails

Return values:
1if the tab is selected,
Exceptions:
otherwiseLdtpExecutionError will be thrown

Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/page-tab-list.c

Example

from ldtp import *

For selecting Editor tab with respect to gedit preferences

selecttab('dlgPreferences', 'ptlPreferences', 'Editor')

Author:
Thanikachalam S <thanika1999@yahoo.com>