Endtest

Endtest

›Web 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

Testing WebRTC Applications

Introduction

Web Real-Time Communications (WebRTC) is an open source technology created by Google that allows peer-to-peer communication in web browsers and mobile applications through APIs.

This includes audio, video, and data transfers.

A large number of web applications are using the WebRTC technology, such as those used for online meetings and video conferences.

Media Emulation

The machines from our cloud are not connected to any webcams, microphones or speakers.

But we are using a technology that emulates all of those, called Media Emulation.

This technology is enabled by default for all users.

When accessing a webcam in a Web Test, you will see a live stream that looks like this:

endtest webrtc emulation fake

There is also the option to provide your own y4m video file that will be shown in the webcam live feed.

Only certain browsers support the Media Emulation technology.

BrowserMedia EmulationCustom y4m file
Chrome✅✅
Edge✅✅
Firefox✅⛔
Safari⛔⛔
Internet Explorer 11⛔⛔
Mobile browsers✅✅

Currently, the option to add a custom y4m file is only available in our backend admin panel.

You can write to our Support Team and they will help you add it for your account.

Full Media Emulation for Safari and Firefox is only available with dedicated machines on Endtest.

How to test WebRTC scenarios

If you are testing an online meeting application, you might need to connect with different users to the same meeting.

This can be achieved by using multiple browser tabs in your test.

It's easy to manage multiple browser tabs with the methods provided in the Miscellaneous action:

  • Open new tab
  • Switch to next tab
  • Switch to previous tab

A better approach would be to have separate test executions connecting to the same meeting.

The proper way to do this is to start a test execution that will start one or more different test executions.

And that allows you to connect to the same meeting from different browsers on different machines.

You would need to add a Send API Request step that will call the Endtest API and trigger a test execution.

Managing and syncing the separate test executions can be achieved with Wait Until and Pause steps.

← Execute JavaScriptHow to scroll in Web Tests →
  • Introduction
  • Media Emulation
  • How to test WebRTC scenarios
© Endtest Inc.