Page tree
Skip to end of metadata
Go to start of metadata

void SetDefaultClickDownTime(int clickDownTime)

Supported in iOS Supported in Android


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


  • DownTime: Click down time value (milliseconds)
  • 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.



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.


Note:    The click will last for 10 seconds.


  • No labels