Logo Search packages:      
Sourcecode: ldtp-doc version File versions  Download package

verifyscrollbar

Syntax

verifyscrollbar ('<window name>', '<scroll bar name>')

Description

Checks whether the given object is scrollbar or not, also we can check whether scroll bar object is available or not

Implementation

Todo:
Return values:
1 on success, else 0
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/scroll-bar.c

Example

With respect to gedit application

from ldtp import *

verifyscrollbar ('*-gedit', 'scbr0') # assuming that the file currently opened content is more than one page, else the scrollbar object will not be created by accessibility interface

Author:
Nagappan A <nagappan@gmail.com>

Generated by  Doxygen 1.6.0   Back to index