LongTouchButton Action (iOS Controls)

Applies to TestComplete 14.10, last modified on June 5, 2019

Description

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

Declaration

TestObj.LongTouchButton(HoldDuration)

TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
HoldDuration [in]    Optional    Integer Default value: 1000   
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.

Parameters

The method has the following parameter:

HoldDuration

Specifies the touch duration (in milliseconds).

Result Value

None.

Example

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

See Also

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

Highlight search results