verifyvisiblebuttoncount ('<window name>', '<toolbar name>', <count>)
Verifies whether the toolbar button count matches with the argument count. 1 based index.
- Todo:
- Return values:
-
With respect to gedit application toolbar
from ldtp import *
verifyvisiblebuttoncount ('*-gedit', 'tbar0', 12) # Gedit 2.12 default without any plugin
- Author:
- J Premkumar <jpremkumar@novell.com>