"MOBILE_PINCH" Command

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

image-20241113-110557.png
image-20241113-110626.png

 

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)

 

Â