Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Description: This command is used to long-press on a mobile widget. Duration specifies the hold time for press action.

Usage Scenario: Suppose we want to long press the Voice Search button on Wikipedia app for 4 seconds which should display “Search Wikipedia” tooltip.

Procedure:

1- Define steps that launch the application

2- Define a step with Mobile_Long_Press command and create a new locator for Voice Search button

3- Define your duration to be 4000 milliseconds = 4 seconds.

4- Your step will look like this:


  • No labels