LDTP
3.5.0
|
oneup('<window name>', '<scroll component name>', <number of iterations>)
Move the(vertical) scroll bar up 'n' times, where 'n' is the number of iterations specified in the argument field.
Scrolls up if value does not drop below the minimum limit, else fails.
Refer: Linux: http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtpd/value.py
Mac: https://github.com/ldtp/pyatom/blob/master/atomac/ldtpd/value.py
Windows: https://github.com/ldtp/cobra/blob/master/Ldtpd/Value.cs
from ldtp import *
For scroll bar item with respect to gedit
oneup('gedit', 'scrollBar', 3)