LongTouchButton Action (Android Controls)

Applies to TestComplete 15.47, last modified on January 20, 2023
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

Simulates a long touch over a button in an Android application.

Declaration

TestObj.LongTouchButton()

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

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

Result Value

None.

Example

To view an example that demonstrates how to use the LongTouchButton method to simulate touches on buttons in Android applications, see Touching a Button.

See Also

Testing Android Applications (Legacy)
Touching a Button
Selecting a Radio Button
TouchButton Action (Mobile Controls)
LongTouchButton Action (iOS Controls)
LongTouch Action (Android Objects)
LongTouch Action (Mobile Objects)

Highlight search results