LDTP  3.5.0
 All Pages
scrollright

Syntax

scrollright('<window name>', '<scroll component name>')

Description

Move the(horizontal) scroll bar to the extreme right.

ImplementationDetails

Return values
1if action is performed, 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

Windows: https://github.com/ldtp/cobra/blob/master/Ldtpd/Scrollbar.cs

Example

from ldtp import *

For scroll bar item with respect to gedit

scrollright('gedit', 'scrollBar')

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


Linux Desktop Testing Project