Package com.hp.lft.sdk
Interface Scrollable
- All Known Subinterfaces:
ScrollInfoProvider
,UiObject
,UiObject
public interface Scrollable
Represents test objects that support scrolling.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
scroll
(ScrollOrientation orientation, ScrollType type) Scrolls an object that has embedded scroll bars by one line or page.void
scroll
(ScrollOrientation orientation, ScrollType type, int value) Scrolls an object that has embedded scroll bars.
-
Method Details
-
scroll
void scroll(ScrollOrientation orientation, ScrollType type, int value) throws GeneralLeanFtException Scrolls an object that has embedded scroll bars.- Parameters:
orientation
- the scroll bar to move. Possible values:ScrollOrientation
type
- the type of the scrolling to perform. Possible values:ScrollType
value
- The quantity of lines or pages to scroll. (This parameter is not relevant if the type argument is set to First or Last.)- Throws:
GeneralLeanFtException
- if error occurs during execution
-
scroll
Scrolls an object that has embedded scroll bars by one line or page.- Parameters:
orientation
- the scroll bar to move.ScrollOrientation
type
- the type of the scrolling to perform. Possible values:ScrollType
- Throws:
GeneralLeanFtException
- if error occurs during execution
-