wPageCount Property (iOS Controls)

Applies to TestComplete 15.45, last modified on December 01, 2022
This property 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

Returns the total number of pages in the page control.

Declaration

TestObj.wPageCount

Read-Only Property Integer
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section

Applies To

The property is applied to the following objects:

View Mode

To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.

Property Value

An integer value indicating the number of pages in the control.

Example

To view an example that demonstrates how to use the wPageCount property, see Determining the Number of Pages.

See Also

Testing iOS Applications (Legacy)
Determining the Number of Pages
Working with ScrollView in Paging Mode
Working with Table View in Paging Mode
Working with Multiline Edit Controls in Paging Mode

Highlight search results