This method is available in legacy mobile tests that work with devices connected to the local computer. To learn how to simulate user actions in newer cloud-compatible mobile tests, see the Simulating user actions in tests section. |
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 (Legacy)
Navigating Through Application Pages
Next Method (iOS Controls)
Back Method (iOS Controls)