TestCafe Studio

  • 3 min to read
Note

This documentation describes TestCafe Studio, a new IDE for cross-platform end-to-end web testing. If you are looking for the legacy TestCafe v2015.1 documentation, please refer to this link.

TestCafé Studio is a cross-platform IDE for end-to-end web testing that does not require WebDriver or other tools. It works on Windows, MacOS, and Linux, and in every popular desktop or mobile browser.

First Steps

Getting Started

This guide describes how to record your first test, run it and view the results.

Video Tutorials

Watch these videos for an overview of TestCafe features and a quick start guide.

Main Features

Visual Test Recorder

Create end-to-end tests without writing code. Click through the test scenario in a browser, and TestCafe Studio will record your actions and generate a test.

Cross-Browser Testing

You can run the recorded test in all major desktop and mobile browsers (including Chrome, Firefox, Safari, Edge, and Internet Explorer) in either visual or headless mode.

Full Set of Assertions

Assertions allow you to ensure that the web application correctly responds to user actions.

At any moment during the test, you can check if an element is displayed and verify its state, content, style, position, and other properties. You can also run custom code on the tested page and confirm its return value.

Built-In Wait Mechanisms

Includes a built-in wait mechanism that suspends test execution until the browser loads the page, completes XHR requests and displays the required page elements.

The auto-wait mechanism also extends to assertions and thus stabilizes tests when you verify the page state. Customizable timeouts allow you to fine-tune built-in wait mechanisms.

Auto-Generated Element Selectors

When TestCafe Studio records a test, it produces different element selectors for each webpage element involved. They can rely on the element's ID, class, parents, attributes, etc. You can leave the default selector or choose another one that better suits the page structure and semantics.

Flexible Run Configurations

You can create multiple configurations that define target browsers and additional test execution settings, and then run tests for specific configurations.

Comprehensive Reports

TestCafe Studio displays comprehensive reports with overall results and details for each test. The Report View shows test results in a tabular form that allows you to sort and group the records, search through them, and rerun failed tests.

You can also view and export reports in JSON, xUnit, and other formats. Download open-source reporter plugins developed by the community for access to more formats.

Powerful Code Editor

Contains a powerful Code Editor with syntax highlight, code completion and parameter hints. Write code from scratch, or convert recorded tests to JavaScript to edit them later. You can also run individual tests or fixtures from the Code Editor as you work on them.

In This Documentation

Guides

Cover main TestCafe Studio workflows, from recording tests to analyzing test run reports.

User Interface

A detailed reference for TestCafe Studio visual editors, screens, and dialogs.

FAQ

Find answers to the most popular questions about TestCafe Studio.