selecttab ('<window name>', '<tab list name>', '<tab name>')
Select the given tab name in the tab list
| 1 | if the tab is selected, |
| 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')