Endtest

Endtest

›Mobile Tests

Web Tests

  • How to create Web Tests
  • Finding elements in Web Applications
  • How to execute Web Tests
  • Assertions for Web Tests
  • IF Statements for Web Tests
  • Web Applications with restricted access
  • How to test in iframes
  • How to test in multiple tabs
  • How to test File Uploads
  • How to test File Downloads
  • How to test Emails
  • How to test PDF files
  • How to test Chrome Extensions
  • Dealing with reCAPTCHA
  • Dealing with Dynamic Locators
  • Dealing with Canvas Elements
  • Performing a Drag and Drop
  • Execute JavaScript
  • Testing WebRTC Applications
  • How to scroll in Web Tests
  • How to test Checkboxes
  • How to test Dropdowns
  • Dealing with Sessions
  • Web Crawler
  • Export Web Tests
  • Migrating from Selenium

Mobile Tests

  • How to create Mobile Tests
  • Finding elements in Mobile Applications
  • How to execute Mobile Tests
  • Assertions for Mobile Tests
  • IF Statements for Mobile Tests
  • How to scroll in Mobile Tests
  • Performing Complex Gestures

Advanced

  • Variables
  • Waits
  • Endtest API
  • Scheduler
  • Drive
  • Adding Collaborators
  • Computer Vision
  • Importing Test Cases
  • Using Loops
  • Data-driven Testing
  • Send API Requests
  • Read SMS
  • Execute SQL queries
  • Self-Healing Tests
  • Email Notifications
  • Slack Notifications
  • PagerDuty Notifications
  • Webhook Notifications
  • Automatic Backup
  • Advanced Settings
  • Multiple environments
  • How to stop a test
  • Utilities
  • Utilities API
  • Team
  • On-Premises

Integrations

  • Atlassian Jira
  • Slack
  • PagerDuty
  • Microsoft Teams
  • Mattermost
  • Jenkins
  • GitHub
  • Azure DevOps
  • GitLab
  • TeamCity
  • CircleCI
  • TravisCI
  • Bitbucket
  • Heroku
  • Bamboo Server
  • Test Case Management
  • SSO
  • BrowserStack
  • Sauce Labs

Performing Complex Gestures

Introduction

In some scenarios, your test might need to perform complex gestures.

For example, pinching and zooming on a map.

You can combine multiple Touch Actions into a Sequence.

And you can also combine multiple Sequences in a Multi Touch Actions Sequence.

Actions

1. Set Touch Action

The Set Touch Action allows you to define a Touch Action:

  • Tap and Hold
  • Move
  • Release

endtest set touch action

Names must be provided for each Touch Action.

Those 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 you defined the Touch Actions with Set Touch Action step, you can execute them with an Execute Touch Actions Sequence step.

The names of the defined Touch Actions must be provided, with + signs between them.

endtest execute touch actions

3. Set Touch Actions Sequence

This action can be used if you want to store multiple Touch Actions in a Sequence.

Adding a Set Touch Actions Sequence step will not execute the Sequence, it will only define it.

endtest set touch actions sequence

Names must be provided for each Sequence.

Those names will be used when executing the Sequences.

4. Execute Multi Touch Actions Sequence

This action can be used to execute multiple Sequences in the same time.

A good example is when you want to pinch and zoom on a map.

Both fingers would perform separate Sequences at the same time.

endtest execute multi touch actions sequence

The names of the defined Sequences must be provided, with + signs between them.

To understand a complex gesture, it's best to first break down that gesture into sequences.

And then, to break down those sequences into touch actions.

For example, pinching and zooming in on a map is a gesture.

That gesture is made up of 2 sequences.

Each finger will perform a separate sequence, at the same time.

Each sequence is defined by 3 touch actions (Tap, Move, Release), executed one after another.

← How to scroll in Mobile TestsVariables →
  • Introduction
  • Actions
    • 1. Set Touch Action
    • 2. Execute Touch Actions Sequence
    • 3. Set Touch Actions Sequence
    • 4. Execute Multi Touch Actions Sequence
© Endtest Inc.