LDTP
3.5.0
|
verifyscrollbarvertical('<window name>', '<scroll bar name>')
Checks whether the given object is vertical scrollbar or not
1 | on success, else 0 |
Refer: Linux: http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtpd/value.py
Mac: https://github.com/ldtp/pyatom/blob/master/atomac/ldtpd/value.py
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