Skip to main content

SeeTestAutomation- SetDefaultClickDownTime

info

Please note that this tool is classified as a Legacy tool. We recommend transitioning to our updated solutions to maintain optimal performance and security in your workflows. For more information on this matter, please reach out to technical support .

void SetDefaultClickDownTime(int clickDownTime)

Description

Set the default click down time (default is 100 miliseconds)

Parameters

  • DownTime: Click down time value (milliseconds)

  • info
  • Note:    Once set, will apply to all the notations of click command during the script. To change behavior need to set DownTime again using this command.

    :::

Usage

Example

Scenario: In the following example, we will use the 'SetDefaultClickDownTime' command to press on an icon for 10 seconds.

Step 1:         Use the 'SetDefaultClickDownTime' command with the 'Downtime' parameter equal to 10000.

Step 2:          Perform click command on the 'Play Store' icon. The application will not launch, but will be highlighted instead due to the long click.

info

Note:    The click will last for 10 seconds.

C