Skip to main content

TestCafe Studio

  • 3 minutes to read

Note

This documentation describes TestCafe Studio, a desktop application for cross-platform end-to-end web testing. Visit testcafe.devexpress.com for articles that describe the discontinued browser-based version of TestCafe — TestCafe v2015.1.

TestCafé Studio is a cross-platform IDE for end-to-end web testing that does not require WebDriver or other tools. TestCafe Studio runs on Windows, MacOS, and Linux, and can launch tests 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

Test Recorder

TestCafe Studio allows you to record end-to-end tests in a browser. Launch the test recorder and interact with a web page. TestCafe Studio records your actions and creates a test you can play back at a later time. You can record both codeless tests and test scripts. Codeless tests are easy to edit without programming knowledge. Test scripts are powerful and flexible.

Cross-Browser Testing

You can run tests in all major desktop and mobile browsers, in both GUI and headless mode. You can select from Chrome, Firefox, Safari, and Edge browsers.

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 visible 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.

Automatic Waiting

TestCafe Studio is built for the modern asynchronous web. It properly identifies events like page loading, element rendering, and XHR requests, and waits for them to resolve before it continues to execute the test.

The same logic also applies to assertions, which gives you a reliable way to verify page state. You can even customize timeouts to fine-tune wait times.

Auto-Generated Element Selectors

Test actions and assertions use Selector queries to identify elements by their class, attributes, ID, or other properties. When TestCafe Studio records a test, it generates Selector queries automatically. You can pick a Selector that you like the most from the list of suggestions — or leave it entirely up to TestCafe Studio.

Element Picker and Selector Inspector tools offer assistance when you need to create Element Selectors for assertions and non-recordable actions.

Flexible Run Configurations

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

Comprehensive Reports

TestCafe Studio generates comprehensive test reports that feature test run summaries, as well as in-depth information about each of the tests. The Report View allows you to sort test records, search through them, and repeat failed tests.

You can also view and export reports in JSON, xUnit, and other formats. Download community-built open-source reporter plugins to enable more report formats.

Powerful Code Editor

TestCafe Studio includes a powerful Code Editor with syntax highlighting and intelligent code completion. You can edit scripts that you recorded or write code from scratch. You can also convert a codeless test into a script.

In This Documentation

Guides

Explore common TestCafe Studio workflows, from recording tests to analyzing test run reports.

User Interface

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

FAQ

Find answers to the most popular questions about TestCafe Studio.