selecttab ('<window name>', '<tab list name>', '<tab name>')
Select the given tab name in the tab list
- 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
from ldtp import *
For selecting Editor tab with respect to gedit preferences
selecttab ('dlgPreferences', 'ptlPreferences', 'Editor')
- Author:
- Thanikachalam S <thanika1999@yahoo.com>