Introduction
In some scenarios, your test might need to perform complex gestures. For example, pinching and zooming on a map. You can combine multipleTouch Actions into a Sequence
Additionally, you can combine multiple Sequences into a Multi Touch Actions Sequence.
Actions
1. Set Touch Action
TheSet Touch Action allows you to define a Touch Action:
- Tap and Hold
- Move
- Release
Names must be provided for each Touch Action.
These names will be used when executing the Touch Actions or when combining them into a Sequence.
Adding a
Set Touch Action step will not execute that Touch Action it will only define it. 2. Execute Touch Actions Sequence
After defining theTouch Actions with Set Touch Action steps, you can execute them with an Execute Touch Actions Sequence step.
The names of the defined Touch Actions must be provided, separated by + signs.
3. Set Touch Actions Sequence
This action can be used if you want to store multipleTouch Actions in a Sequence.
Adding a
Set Touch Actions Sequence step will not execute the Sequence; it will only define it.
Names must be provided for each Sequence.
These names will be used when executing the Sequences.
4. Execute Multi Touch Actions Sequence
This action can be used to execute multipleSequences at the same time.
A good example is when you want to pinch and zoom on a map.
Both fingers would perform separate Sequences simultaneously.
The names of the defined Sequences must be provided, separated by + signs.
To understand a complex gesture, it’s best to first break down that gesture intoSequences. Then, break down thoseSequencesintoTouch Actions. For example, pinching and zooming on a map is a gesture. That gesture is made up of 2Sequences. Each finger will perform a separateSequencesimultaneously. EachSequenceis defined by 3Touch Actions(Tap,Move,Release), executed one after another.

