gettabcount ('<window name>', '<tab list name>')
Returns the page tab count of a page tab list
- Todo:
- Return values:
-
| tab | count of type long is returned on success, LdtpExecutionError on failure |
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/page-tab-list.c
With respect to Preferences dialog of gedit
from ldtp import *
selectmenuitem ('*-gedit', 'mnuEdit;mnuPreferences')
gettabcount ('dlgPreferences', 'ptl0')
- Author:
- Nagappan A <nagappan@gmail.com>
Linux Desktop Testing Project