slide
Description
Mimic the action of a finger sliding across the screen.
Arguments
x1
Horizontal position of starting point (units: pixels1, relative to left edge of display).
y1
Vertical position of starting point (units: pixels1, relative to top edge of display).
x2
Horizontal position of end point (units: pixels1, relative to left edge of display).
y2
Vertical position of end point (units: pixels1, relative to top edge of display).
slide duration
(Optional) Duration of the finger slide ( units: milliseconds; valid range: 500 to 60000; default = 500 ).
Valid contexts
This action may be used within the following project items: test modules and user-defined actions.
Applicable Systems/Platforms
Use of this action is supported on the following systems/platforms: Mobile operating systems.
Notes
- Built-in UI actions applied to iOS devices specify screen coordinates in points rather than pixels. (For further details, refer to the built-in action get screen resolution.)
- This action supports the <ignore> modifier. If the string
<ignore>
is present as the value of any of the arguments, or any argument contains an expression that evaluates to<ignore>
, the action is skipped during execution.
Applicable Built-In Settings
The following settings are applicable to this action: remove double quotes from cells.
Example
Action Lines