ScrollToMin Method

Class

ScrollBar.

Action

Scrolls the scroll bar to its minimum position.

Syntax

scrollbar.ScrollToMin ( )

Notes

ScrollToMin scrolls a scroll bar to its minimum position. It then checks the internal position of the scroll bar to ensure that it is at the minimum position, and moves it if it is not. This verification step is required because some applications move the thumb back one or two lines after it is dragged all the way up or over.

It is possible for the scroll bar to have a start range that cannot be reached by clicking the arrows. In this case, Silk Test Classic generates the exception E_SBAR_POS_NOT_REACHABLE.

Example

Open.Files.VScrollBar.ScrollToMin ()