Close Action (Android Controls)

Applies to TestComplete 15.70, last modified on December 17, 2024
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 Close method clears any query text and closes the SearchView.

Declaration

TestObj.Close()

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 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.

Result Value

None.

See Also

Testing Android Applications (Legacy)
Android SearchView Support
Submit Action (Android Controls)

Highlight search results