This action applies to Mobile Device scripts only. It is only supported in the Mobile and Chrome agents.
In Mobile Device scripts, the Span action simulates moving thumb and finger away from each other on a mobile device screen to zoom in the display; for example, to make text larger or to display a smaller, more detailed area of a map.
In some websites, the span action is disabled, therefore you cannot record span actions in those sites.
The following settings can be edited for this action.
Target Window – The window where the span occurred
Locators – The element on the page where the span occurred
Coordinates – The start and end points of the span, measured from the upper left-hand corner of the element.
The Start Coordinates record the X and Y coordinates of the two points on the screen where, for example, the thumb and forefinger rest before beginning the span. The End Coordinates record the points where the span ends. In each Coordinates row, the first two fields are the X and Y coordinates, respectively on the left side; the third and fourth fields are the X and Y coordinates, respectively, on the right side.
Change a target window setting
- Edit the Target Window name appropriately. The default is gomez_top.
Add a locator
Click located to the far right in the Locators area. A new row is added.
Complete the new locator information.
Repeat to create new additional locators.
Change existing locator settings
Scroll down until you see the Locator to change.
Select the type of Locator information to use — CSS or DOM — from the drop-down menu for the Locator to change.
Enter the appropriate Locator information in the text field.
Delete a locator
- Click located on the right of the Locator to delete.
In the Start Coordinates row, enter the new pixel values for the left-side X and Y coordinates and right-side X and Y coordinates for the start of the span.
In the End Coordinates row, enter the new pixel values for the left-side X and Y coordinates and right-side X and Y coordinates for the end of the span.