LDTP
3.5.0
|
verifybuttoncount('<window name>', '<toolbar name>', <count>)
Verifies whether the toolbar button count matches with the argument count. 1 based index.
1 | on success, else 0 |
With respect to gedit application toolbar
from ldtp import *
verifybuttoncount('*-gedit', 'tbar0', 12) # Gedit 2.12 default without any plugin