SelectPage Method (Specific to iOS PageControl Objects)

Applies to TestComplete 14.74, last modified on March 31, 2021


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



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.


The method has the following parameter:


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



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