LDTP  2.3.1
verifyscrollbarhorizontal

Syntax

verifyscrollbarhorizontal('<window name>', '<scroll bar name>')

Description

Checks whether the given object is horizontal scrollbar or not

Return values:
1on success, else 0

Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/scroll-bar.c

Example

With respect to gedit application

from ldtp import *

verifyscrollbarhorizontal('*-gedit', 'scbr0') # assuming that you have more columns than the actual visible area, else the scrollbar object will not be created by accessibility interface

Author:
Nagappan Alagappan <nagappan@gmail.com>