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.
This guide describes how to record your first test, run it and view the results.
Watch these videos for an overview of TestCafe features and a quick start guide.
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.
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.
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.
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.
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.
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.
Cover main TestCafe Studio workflows, from recording tests to analyzing test run reports.
A detailed reference for TestCafe Studio visual editors, screens, and dialogs.
Find answers to the most popular questions about TestCafe Studio.