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

gettabcount

Syntax

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

Description

Returns the page tab count of a page tab list

Implementation

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

Example

With respect to Preferences dialog of gedit

from ldtp import *

selectmenuitem ('*-gedit', 'mnuEdit;mnuPreferences')

gettabcount ('dlgPreferences', 'ptl0')

Author:
Nagappan A <nagappan@gmail.com>

Generated by  Doxygen 1.6.0   Back to index