SelectPage Method (Specific to iOS PageControl Objects)

Applies to TestComplete 14.20, last modified on September 11, 2019

Description

The SelectPage method selects the specified page in the page control.

Declaration

TestObj.SelectPage(Page)

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

Applies To

The method is applied to the following object:

View Mode

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

Parameters

The method has the following parameter:

Page

Specifies the index of the page you want to select. The index is zero-based. The total number of pages in the page control is returned by the wPageCount property.

Result Value

None.

Example

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

See Also

Testing iOS Applications
Navigating Through Application Pages
Next Method (iOS Controls)
Back Method (iOS Controls)

Highlight search results