Back Method (iOS Controls)

Applies to TestComplete 14.0, last modified on January 23, 2019

Description

The Back method selects the page that precedes the current page in the control.

Declaration

TestObj.Back()

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

Applies To

The method is applied to the following objects:

View Mode

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

Result Value

None.

Remarks

If the first page is currently selected in the control, the Back method fails and posts an error message to the test log.

Example

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

See Also

Testing iOS Applications
Next Method (iOS Controls)
SelectPage Method (Specific to iOS PageControl Objects)
Working with ScrollView in Paging Mode
Navigating Through Application Pages
Working with Table View in Paging Mode
Working with Multiline Edit Controls in Paging Mode

Highlight search results