LDTP  3.5.0
 All Pages
verifybuttoncount

Syntax

verifybuttoncount('<window name>', '<toolbar name>', <count>)

Description

Verifies whether the toolbar button count matches with the argument count. 1 based index.

Return values
1on success, else 0

Example

With respect to gedit application toolbar

from ldtp import *

verifybuttoncount('*-gedit', 'tbar0', 12) # Gedit 2.12 default without any plugin

Author
J Premkumar prem..nosp@m.joth.nosp@m.imani.nosp@m.@gma.nosp@m.il.co.nosp@m.m


Linux Desktop Testing Project