Getting Started

Getting Started Guide

This guide provides you with step-by-step instructions on how to create a functional web test with TestCafe. You will learn how to record a test, create an assertion, run the test on multiple browsers and view test results.

Test Code Guide

This guide will help you begin your work with TestCafe API by illustrating how test code is organized and demonstrating several practices that will help you keep your code clear and concise.

Using TestCafe

Setup

This section describes how to install, run and update TestCafe on Windows, MacOS and Linux machines.

Control Panel

The Control Panel is the entry point and main control center in the TestCafe framework. In this section, you will learn how to configure TestCafe, run and edit tests, analyze the results, connect remote devices and much more.

Visual Test Recorder

This section overviews the Visual Test Recorder - a tool that empowers you to create a test without the need to write code. You will see how it captures actions you perform on a web page live and then generates test steps. You will also learn how to add more actions to the list of steps, create assertions, configure your test to handle browser dialogs or pass authentication.

Test Debugging

This topic describes the best way of debugging TestCafe tests.

Continuous Integration

This section provides basic instructions on how to use TestCafe with a continuous integration system. You will learn about the part of TestCafe API that allows for automatic test execution on the server or remote devices.

API Reference

Test Fixture API

This section describes the API available to you when creating or editing tests in code.

Continuous Integration API

This section provides a reference for API available to you when building Node.js applications that run TestCafe tests programmatically.

Examples

Explore this section to review some of best practices and tricks from samples prepared by TestCafe developers.