multi touch slide

This feature is on-demand support

Description

Mimic the gesture of placing the fingers on specified locations, then swiping with all fingers traveling in a parallel direction.

Arguments

  • window

    TA name of the window.

  • destination point

    Location of the destination for the “primary finger” starting at the touch1 point (format: x, y; units: points, relative to top-left corner of window).

  • slide duration

    (Optional) Duration of slide (units: milliseconds).

  • touch1, touch2, … , touchN

    Initial touch locations (format for each: x, y; units: points, relative to top-left corner of window).

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: iOS.

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.
  • The format for specifying positional values for the destination point and touchN arguments is x, y. For example: to simulate initial touch locations at (20,35) and (45, 80), set touch1 to 20, 35 and touch2 to 45, 80.
  • Note that the touch1 and destination point arguments specify the endpoints of the trajectory of the primary finger. Other fingers (if specified by the optional touch2, touch3, etc., arguments) move in a parallel and equidistant trajectory with the primary.
  • 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: case sensitive, remove double quotes from cells, standard ASCII only, window wait.

Example

Have your test move the cherry, apple and papaya icons in this application 320 pixels to the right.

Action Lines

The following action lines presume that picture checks have already been created for the various fruit icons.


Copyright © 2023 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1(800) 322-0333