oneup

Syntax

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

Description

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

Implementation

Scrolls up if value does not drop below the minimum limit, else fails.

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

Example

from ldtp import *

For scroll bar item with respect to gedit

oneup ('gedit', 'scrollBar', 3)

Author:
Aishwariya & Kamakshi <poorvaishoo@yahoo.com>


Linux Desktop Testing Project