Next Method (iOS Controls)

Applies to TestComplete 14.72, last modified on April 22, 2021

Description

The Next method selects the page that follows the current page in the control.

Declaration

TestObj.Next()

TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
Result None

Applies To

The method is applied to the following objects:

View Mode

This method is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.

Result Value

None.

Remarks

If the last page is currently selected in the control, the Next method fails and posts an error message to the test log.

Example

To view an example that demonstrates how to use the Next method to navigate through application pages, see Navigating Through Application Pages.

See Also

Testing iOS Applications
Navigating Through Application Pages
Working with Table View in Paging Mode
Working with Multiline Edit Controls in Paging Mode
Back Method (iOS Controls)
SelectPage Method (Specific to iOS PageControl Objects)

Highlight search results