Endtest

Endtest

›Advanced

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 File Uploads
  • 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
  • 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

Advanced

  • Variables
  • 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
  • Webhook Notifications
  • Automatic Backup
  • Advanced Settings
  • Multiple environments
  • How to stop a test
  • Utilities
  • Team
  • On-Premises

Integrations

  • Atlassian Jira
  • Slack
  • Microsoft Teams
  • Mattermost
  • Jenkins
  • GitHub
  • Azure DevOps
  • GitLab
  • TeamCity
  • CircleCI
  • TravisCI
  • Bitbucket
  • Heroku
  • Bamboo Server
  • BrowserStack
  • Kobiton
  • Sauce Labs
  • Experitest

Computer Vision

Introduction

You can use the Computer Vision capabilities of our platform to ensure every part of the UI is tested.

If something changes on the screen, you will be alerted in the test results.

This method is also known as Visual Testing or Screenshot Comparison.

You can visually verify your entire page or only certain elements.

Guide

You can use one of these two options:

  1. Page Matches Screenshot
  2. Full Page Matches Screenshot
  3. Element Matches Screenshot

The difference between Page Matches Screenshot and Full Page Matches Screenshot is that the first option refers to the viewport, while the second option refers to entire DOM.

You can find those options in the Add Assertion and Start If Statement actions.

You must provide a Baseline Screenshot URL for those options.

How to obtain a Baseline Screenshot URL:

  1. Add a Take Screenshot,Snipping Tool or Generate Full Page Screenshot step in your test.
  2. Execute the test.
  3. Get the URL of the screenshot from the Results section.

The Screenshot Tolerance (%) from the Advanced Settings can be configured to set the accuracy.

For example, if you select 5%, your assertion will fail if the difference between the screenshots is more than 5%.

If the screenshots have different sizes, the larger one will be automatically resized to match the smaller one.

The logs will display the baseline screenshot, the current screenshot and a third screenshot that highlights the visual differences:

endtest screenshot comparison computer vision

← Adding CollaboratorsImporting Test Cases →
  • Introduction
  • Guide
Copyright © 2020 Endtest