Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description: This command is used to perform pinch operation on a mobile widget. To zoom out, you can add a number the Offset (points) field.

Usage Scenario: Suppose we want to zoom out on the Google maps app.

Procedure: Prepare steps that run the app and create a step with Mobile_Pinch command with 50 offset points. For the mobile locator ID, you can the value below. Your steps will look like this:

com.google.android.apps.maps:id/map_frame

...

This is how Google Maps app will look like before running Mobile_Pinch command (map is already zoomed in)

...

This is how Google Maps app will look like after running Mobile_Pinch command with 50 offset points (map gets zoomed out)

...