The requested page is not available for the requested platform. You are viewing the content for Default platform.

Version History

  • 9 min to read

1.2.0

Support for macOS 10.15 Catalina

TestCafe Studio is now compatible with macOS 10.15.

Custom Script Action

We added an action that executes custom TestCafe scripts in the recorded tests. You can use TestCafe API, third-party, and core Node.js modules in these scripts.

Run TestCafe Script Action

You can use features from any Node.js package to facilitate test scenarios where you need to communicate with external resources, access and process online or local data, etc.

Custom scripts allow you to create flexible test logic with conditional or iterative actions.

Custom scripts also enable you to use all TestCafe features without converting the recorded tests to JavaScript. You can intercept HTTP requests, run client-side code or work with page objects.

TestCafe Studio allows you to run custom scripts during recording to debug them. You can use the standard console output methods to print the debugging information.

Documentation: Custom Scripts

Copy/Cut and Paste Actions

You can now copy or cut actions in the Test Editor and paste them in the same or different tests or hooks.

Copy Actions

Documentation: Copy/Cut and Paste Actions

Miscellaneous Enhancements

  • File Upload – Enhanced Path Generation. The Visual Test Recorder now generates relative paths to the uploaded files. This makes test projects with the upload action portable.
  • New and Redesigned Empty States. The Explorer and Reports panels, Test and Fixture Editors now display prompting text and action buttons when empty. The tab view's empty state has been redesigned.

Bug Fixes

This release includes the following bug fixes:

  • Fixed the "Segmentation Fault" error in Ubuntu and Fedora (T816963)
  • Screenshot files are now exported correctly with test run reports (T814883)
  • Inputs with type=\"image\" are now displayed in iframes (T825140)

1.1.0

Hooks

You can now specify test actions that are executed before and after each test in a fixture. These action sequences are called test hooks (the before each and after each hook).

Hooks

Hooks allow you to extract repetitive actions, like logging in or opening the tested view, and reuse them within the fixture.

You do not need to record hooks from scratch. If you have tests that begin or end with the same actions, you can move these actions to a hook in the Test Editor.

Move Actions to Hooks

You can add or modify actions in hooks the way you edit tests.

Hooks Content

Documentation: Hooks

Redesigned Test Editor Toolbar

We replaced the test name, fixture name, and tested page URL with short links that open the Fixture Editor or the tested page. The toolbar is also more compact and organized.

New Toolbar

Documentation: Test Editor

Collapse All Actions in the Test Editor

We added the Collapse all actions button Collapse All Actions button to the Test Editor toolbar. Use it to collapse action parameter areas and display compact test steps.

Documentation: Collapse All Actions

Bug Fixes

This release includes the following bug fixes:

  • Test and fixture metadata is now passed to the reportTestDone method (T750752)
  • TestCafe Studio can now run tests from remote locations like a NAS or shared network folder (T749411)
  • Fixed inconsistent behavior in Not Deep Equal assertions with an empty Expected Value field (T806135)
  • Characters are not duplicated when TestCafe Studio records the Type Text action for numeric inputs (T752937)
  • TestCafe Studio does not crash when you add a selector method and then open the Verified Property drop-down list (T809122)

1.0.2

Offline Registration

Install and register TestCafe Studio without an internet connection. You can use any other device to obtain the registration code from our website or email and enter it on the offline computer.

Offline Registration

Documentation: Registration

NTLM Login with Domain and Workstation ID

You can now specify the machine's domain and workstation ID for NTLM authentication.

NTLM Login Settings

Documentation: Basic HTTP/NTLN Authentication Settings

Bug Fixes

This release includes the following bug fixes:

  • Negative assertions (Not Deep Equal, Not OK, etc.) now work correctly (T742893)

1.0.1

This update includes bug fixes and performance enhancements.

1.0

This is the first official TestCafe Studio release.

You can now purchase a subscription that includes the IDE and 12 months of free updates. For more information about the available options, see Pricing.

This release also provides bug fixes and enhancements.

0.4

Test in Headless Mode

Chrome, Chromium and Firefox browsers support headless mode. In this mode, they do not display the UI, but rather render webpages in the memory and provide automated control over these pages.

TestCafe Studio now allows you to run tests in headless mode in these browsers. This saves you the time and resources that the browsers would normally take to paint the UI.

Headless Mode

Documentation: Run Tests in Headless Browsers

Handle Native Dialogs

If the tested webpage invokes a native browser dialog during the test scenario, you can check the dialog properties and specify how TestCafe should handle it (which button to click and what text to enter).

Use the new Handle Native Dialogs action to do this.

Handle Native Dialogs

Documentation: Handle Native Dialogs

Element Selector Constructor

To locate elements with the new Selector Constructor, you can:

  • use CSS selectors
  • run custom JavaScript functions
  • filter page elements by index, text, attributes or visibility
  • find elements based on their position within the DOM tree

Selector Constructor

Documentation: Element Selector Constructor

File Upload Action

We have added the file upload action. You can now record file upload in the Visual Test Recorder or add this action manually.

Record File Upload

Documentation: Set Files to Upload

Record HTML5 Drag-and-Drop

The Visual Test Recorder can now record HTML5 drag-and-drop actions.

Work Behind a Proxy

You can now run tests in TestCafe Studio if your machine uses a proxy to access the Internet.

Specify the proxy URL in the Preferences/Settings dialog. You can also list URLs that should be accessed directly.

Proxy Settings

Documentation: Preferences/Settings Dialog

Reuse Element Selectors

Use the Define Element Selector action to create an element selector. This selector will be visible to all subsequent actions in the test, so that you can reuse it as many times as you need.

Reuse Element Selectors

Documentation: Define Element Selector

Verify Custom Code Results

You now have the ability to ensure that custom code returns the correct result when executed on a tested webpage.

  1. Use the Define Function action to provide code whose return value you need to check
  2. Create an assertion
  3. Flick the Assertion's switcher switch to Assertion's switcher - Function mode
  4. Select the function you have created and provide its expected value

Define Function

Documentation: Define Function

Copy and Paste Tests

We have added the capability to copy and paste the recorded tests between fixtures.

Right-click a test in the Explorer panel and choose Copy, then right-click the target fixture name and choose Paste (or use Cmd/Ctrl+C and Cmd/Ctrl+V).

Copy and Paste a Test

Documentation: Copy and Paste a Test

Re-evaluate Assertions During Recording

You can now check if an assertion passes or fails at any moment during recording. Click the Re-evaluate Assertion button and TestCafe Studio will show the assertion result.

Copy and Paste a Test

Documentation: Assertion Status

Customize Network Settings

TestCafe Studio needs four vacant ports on the local machine to run and record tests. If you run tests on a remote device, TestCafe Studio will also need to know the hostname of the machine it's running on.

TestCafe Studio can automatically determine the hostname and choose vacant ports. However, depending on your network configuration, you may need to customize these settings. You can now do this in the Preferences/Settings dialog.

Network Settings

Documentation: Preferences/Settings Dialog

Page Element Highlight

When you edit a selector in Test Editor during recording, TestCafe Studio highlights page elements that match this selector.

Element Highlighting

Documentation: Elements Highlighting

Test Script Templates

When you create a new test script, you no longer start with an empty file - TestCafe Studio provides a simple template in which a new fixture and test are declared.

Element Highlighting

Documentation: Write a Test Script

0.3

Numerous bug fixes, stability, and performance improvements.

0.2

Integrated Visual Test Recorder

Create tests without writing code. Click through the test case in the browser, and the Visual Test Recorder will record your actions and generate a test.

Visual Test Recorder

Documentation: Record Tests

Interactive Test Editor

Add actions and assertions to the list of test steps, and configure their parameters. Select target page elements interactively in the browser.

Test Editor

Documentation: Test Editor

Faster and More Stable Tests with Intelligent Auto-Wait Mechanism

Automatically suspends test execution while waiting for element availability, page load completion, XHR requests, etc. 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 waiting mechanisms.

Documentation: Built-in Wait Mechanisms

Auto-Generated Selectors

When you select a target page element for an action or assertion, TestCafe Studio suggests different selectors that match this element. You can choose one that better suits your needs.

Auto-Generated Selectors

Documentation: Element Selector Types

Test Execution Configuration Management

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

Run Configurations

Documentation: Run Configurations Dialog

Comprehensive Reports

The Reports panel shows information on past test runs and current sessions that can be cancelled (if necessary).

Reports Panel

A click on an item opens a detailed report on any given task. You can view test reports and export them into various formats (JSON, list, minimal, spec, xUnit). Plugins that provide additional report formats can also be installed.

Report View

Documentation: Reports Panel, Report View

Easy-to-Use File Manager

You can create, edit, and view various file formats including test files, test recordings, helpers, wrappers, and PageModels. You can launch tests directly from selected files or folders.

Explorer Panel

Documentation: Explorer Panel

Feature-Complete Code Editor and Intuitive Test API

If you prefer to code, TestCafe Studio offers a straightforward and easy-to-learn test API with ES6 and TypeScript support.

A fully integrated code editor with autocomplete and syntax highlighting is also available. You can launch tests directly from the editor.

Code Editor

Documentation: Code Editor

Concurrent Test Execution

TestCafe Studio can start several instances of the same browser, divide fixture tests into several batches, and execute each batch in its own browser instance.

Documentation: Concurrent Test Execution

Powerful Test Debugger

If an automated test fails, but you cannot reproduce the failure manually, there may be an issue with the script. The most effective way of addressing those issues is by debugging the test session. For this purpose, TestCafe Studio implements all the means necessary to effectively troubleshoot test execution.

  • The Debug action stops a test at a desired moment.
  • The Debug Mode allows you to run the entire test step-by-step.
  • The Pause the test when it fails option stops a test the moment it fails.

When a test is paused, you can explore the tested page with developer tools, interact with it, or step over to the next action (if the test has not failed).

Documentation: Debug Tests

Continuous Integration Support

Use the open-source TestCafe, with its extensive command line and JavaScript interfaces, as a test runner.

Documentation: Integrate Tests with CI Systems