LDTP
2.3.1
|
getpanelchildcount('<window name>', '<component name>')
Gets the number of childs available under the given panel
Returns | the child count if present, else -1, if unable to find child count |
Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/panel.c
With respect to gedit application
from ldtp import *
getpanelchildcount('*-gedit', 'pnl0')