Logo Search packages:      
Sourcecode: ldtp-doc version File versions  Download package

selecttab

Syntax

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

Description

Select the given tab name in the tab list

Implementation

Return values:
1 if the tab is selected,
Exceptions:
otherwise ldtp.error will be thrown
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/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>

Generated by  Doxygen 1.6.0   Back to index