Long Press

Updated by Adnan Pandjou

Long Press

Long-press actions are common interaction patterns used in mobile devices to perform specific actions or access additional functionalities such as navigation, refreshing screens, opening up contextual menus, drag-and-drop and so on.

Sofy allows you to register a long press while automating your tests. They are easy to perform and work just like how they would on a real mobile device.

Here's how you can perform a Long Press action in Sofy

  1. Acquire a device from the Device Lab and open up your app. For demonstration purposes, here we will use the in-built Google Maps app
  1. To perform a Long Press action, click on a point on the mobile app & continue holding your click for 3 seconds.
    You will see that the Long Press action gets recorded in your test & similar to what is shown below, a "Drop Pin" action is performed a particular point in the Map:
  1. This Long Press action is also visible in the Offline Test Edit mode where the label "Long Press" is appended underneath the particular long-pressing step:


How did we do?