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

from ldtp import *

For selecting Editor tab with respect to gedit preferences

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

Author
Thanikachalam S thani.nosp@m.ka19.nosp@m.99@ya.nosp@m.hoo..nosp@m.com


Linux Desktop Testing Project