Skip to content

iOSScrollView

iOS ScrollView.

Extends iOSObject

Behavior Pattern: iOSObjectScrollViewBehavior

Action Summary

Action Description
DoScrollDown Scrolls content to show lower area.
DoScrollLeft Scrolls content to show area to the left.
DoScrollRight Scrolls content to show area to the right.
DoScrollToElementWithName Scrolls to an sub control with name.
DoScrollUp Scrolls content to show upper area.

Action Detail

DoScrollDown

Scrolls content to show lower area.

SeS('SomeiOSScrollView').DoScrollDown()

Returns:

boolean: 'true' if success, 'false' otherwise.

DoScrollLeft

Scrolls content to show area to the left.

SeS('SomeiOSScrollView').DoScrollLeft()

Returns:

boolean: 'true' if success, 'false' otherwise.

DoScrollRight

Scrolls content to show area to the right.

SeS('SomeiOSScrollView').DoScrollRight()

Returns:

boolean: 'true' if success, 'false' otherwise.

DoScrollToElementWithName

Scrolls to an sub control with name.

SeS('SomeiOSScrollView').DoScrollToElementWithName(name)

Parameters:

Name Type Description
name string Sub control name.

Returns:

boolean: 'true' if success, 'false' otherwise.

DoScrollUp

Scrolls content to show upper area.

SeS('SomeiOSScrollView').DoScrollUp()

Returns:

boolean: 'true' if success, 'false' otherwise.