LDTP  3.5.0
 All Pages
oneright

Syntax

oneright('<window name>', '<scroll component name>', <number of iterations>)

Description

Move the(horizontal) scroll bar right 'n' times, where 'n' is the number of iterations specified in the argument field.

ImplementationDetails

Scrolls right if value does not exceed the maximum 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

Example

from ldtp import *

For scroll bar item with respect to gedit

oneright('gedit', 'scrollBar', 3)

Author
Aishwariya & Kamakshi poorv.nosp@m.aish.nosp@m.oo@ya.nosp@m.hoo..nosp@m.com


Linux Desktop Testing Project