wNavItemCount Property (Specific to Android ActionBar Controls)

Applies to TestComplete 15.70, last modified on December 17, 2024
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

Use the wNavItemCount property to get the total number of navigation items in the action bar.

Declaration

TestObj.wNavItemCount

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 object:

View Mode

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

Property Value

The total number of navigation items in the action bar.

Example

To view an example that demonstrates how to use the wNavItemCount property, see Working With Action Bars - Basic Concepts.

See Also

About Testing Android Applications (Legacy)
Working With Action Bars - Basic Concepts
Android ActionBar Support
wItem Property (Mobile Controls)
wNavItemText Property (Specific to Android ActionBar Controls)

Highlight search results