Community Blogs
This section contains articles written by TestCafe community members.
How to Test Slack Notifications
Published on platformos.com by Paweł Kowalski – Nov 26, 2020

Read More

How to Send Your TestCafe Test Results to TestRail
Published on Dev Tester by Dennis Martinez – Aug 18, 2020

You can automatically send the results of your TestCafe test execution to the TestRail test case management tool. Read this article to learn how.

Read More

Cross-Browser Acceptance Tests with LambdaTest and TestCafe
Published on markus.oberlehner.net by Markus Oberlehner – Aug 16, 2020

In this article, we will take a closer look at how we can run automated cross-browser acceptance tests in real browsers on LambdaTest using TestCafe as our test framework. LambdaTest is a modern and fast browser testing service with powerful features when it comes to automated cross-browser testing. It provides advanced features like Selenium Grid to automate Selenium testing in the cloud.

Read More

Easy e2e Testing with TestCafe
Published on dev.to by Prasad Mudedla – Aug 3, 2020

TestCafe is a new, open-source, Node.js based e2e testing framework. It's an excellent alternative to Selenium-based tools since it injects itself into the website as JS scripts, so it's more stable and faster. This allows TestCafe to run on any browser, including mobile devices and cloud services as well. It doesn't need Selenium to start your browser window, execute the tests in it and provide useful test report after the execution.

Read More

Getting Drone CI Up and Running With TestCafe Quickly
Published on Dev Tester by Dennis Martinez – Jul 21, 2020

Learn how easy you can set up Drone CI, a self-hosted continuous integration service, and how to use it to run your TestCafe test suite.

Read More

End-to-End Testing with TestCafe Book Excerpt: Intercepting HTTP Requests
Published on Dev Tester by Dennis Martinez – Jun 30, 2020

Intercepting HTTP requests lets you take control over what happens during asynchronous calls to other servers. Learn how this is done in TestCafe.

Read More

End-to-End Testing with TestCafe Book Excerpt: Reporters
Published on Dev Tester by Dennis Martinez – Jun 23, 2020

TestCafe comes with a variety of reporters to display your test results in different ways to fit your needs. Check out how to use them with your test suite.

Read More

End-to-End Testing with TestCafe Book Excerpt: Smart Assertion Query Mechanism
Published on Dev Tester by Dennis Martinez – Jun 16, 2020

See how TestCafe intelligently handles asynchronous functionality in websites without explicit waits or timeouts like in other testing frameworks.

Read More

End-to-End Testing with TestCafe Book Excerpt: User Roles
Published on Dev Tester by Dennis Martinez – Jun 9, 2020

Learn about TestCafe's built-in roles mechanism to handle authentication, and how it can help you organize and speed up your end-to-end tests.

Read More

TestCafe Integration With Cucumber
Published on DZone by Mohit Kulshreshtha – Jun 3, 2020

Let's look at how to implement the integration of TestCafe with Cucumber.

Read More

Data-Driven Testing in TestCafe (Part 2) - CSV and Excel
Published on Dev Tester by Dennis Martinez – May 26, 2020

Learn how to use CSV and Excel files to drive your TestCafe tests in the second part of this series.

Read More

Automatizando testes com TestCafe Parte 1 (Portuguese)
Published on jrocha.dev by Junior Rocha – May 22, 2020

Read More

Using TestCafe with React.js
Published on Medium by Sampath Katari – May 19, 2020

Read More

Data-Driven Testing in TestCafe (Part 1) - JSON and XML
Published on Dev Tester by Dennis Martinez – May 19, 2020

Data-driven testing is a useful technique to keep your tests efficient, and maintainable. Learn how to use JSON and XML to drive your TestCafe test suite.

Read More

How to Run TestCafe CLI on BrowserStack in Docker Container
Published on dev.to by Mirek Ciastek – May 17, 2020

Every application needs testing and most of them need End-to-End (E2E) testing. The quickest way to have E2E tests is to do them manually, but repetitive manual work costs far too much for a company. Automation can help reduce the costs of running End-to-End tests and increase the confidence of a team at the same time. It's true that configuring an E2E test runner and including it into our development workflow isn't an easy task, but once you're done, you never look back. We benefit from more confidence in our code with every single test written, and ensure that the combined pieces of an application, or system, work in perfect harmony.

Read More

Set Up Scheduled Tests With TestCafe, Gitlab CI, and Alerts on Slack
Published on Medium by Angad Singh – May 11, 2020

Read More

Notes on Automated User (web) interface Test/Checks and Browser Automation
Published on Medium by Francisco Mancardi – May 9, 2020

I want to share our experience at TESISQUARE (www.tesisquare.com) in the process of adopting automation. Some of the things can sound obvious but IMHO reviewing it is a must to avoid wasting your time and resources.

Read More

Using the Node.js Debugger for Your TestCafe Tests
Published on Dev Tester by Dennis Martinez – May 5, 2020

Sometimes you need a powerful debugger to get to the bottom of a tricky bug in your tests. Learn how to use the Node.js debugger with TestCafe.

Read More

Why TestCafe?
Published on Medium by Amal Jayaraj – May 3, 2020

In one of our recent projects at my company, we started using TestCafe for end-to-end UI automation. This article will describe how we ended up choosing TestCafe as the choice of framework for front end automation.

Read More

Bye-bye Selenium, Hello TestCafe
Published on LinkedIn by Faisal Khan – Apr 28, 2020

Read More

3 Useful Ways to Debug Your TestCafe Tests
Published on Dev Tester by Dennis Martinez – Apr 28, 2020

Face it: your end-to-end tests will fail at some point. With TestCafe, you have plenty of ways to get to the bottom of your issues.

Read More

Control Your Secrets on TestCafe With Vault
Published on Dev Tester by Dennis Martinez – Apr 21, 2020

If you need to access secure information in your tests, a tool like Vault by HashiCorp can help. Check out how to use it in your TestCafe test suite.

Read More

Continuous Integration with Jenkins and TestCafe
Published on Engineering Quality by Tushara – Apr 18, 2020

There is plenty of documentation available online for Jenkins and TestCafe. This article is for the beginners to get started with continuous integration without a Docker image. I directly referred to some online documents and added few steps where needed for additional details.

Read More

OUTILS DE TEST: TESTER VOTRE UI AVEC TESTCAFÉ (French)
Published on LA TAVERNE DU TESTEUR by Benjamin Butel – Mar 27, 2020

Read More

React - TestCafe - End To End Testing
Published on LinkedIn by Arnab Chatterjee – Mar 19, 2020

Read More

TestCafe で E2E テストを始めよう #2 - ベーシック認証とユーザーロール(アカウント認証) (Japanese)
Published on PSYENCE:MEDIA by wakamsha – Mar 18, 2020

Read More

Get a Jump-Start on Your Testing With TestCafe and Docker
Published on Dev Tester by Dennis Martinez – Mar 17, 2020

TestCafe is simple to install, but needs some dependencies. If you can't or don't want to deal with it, leverage the power of Docker to run your test suite.

Read More

Creating Your First Test With TestCafe
Published on Marie Drake's Blog by Marie Drake – Mar 16, 2020

Read More

TestCafe で E2E テストを始めよう #1 - 概要説明 と Hello World (Japanese)
Published on PSYENCE:MEDIA by wakamsha – Mar 6, 2020

Read More

5 Ways TestCafe Helps Your Tests Run Fast
Published on Dev Tester by Dennis Martinez – Mar 3, 2020

End-to-end tests tend to be slower than other tests. Still, slow tests suck. Here are 5 tips to keep your tests fast if you're using TestCafe.

Read More

Writing Reusable End-to-End Tests With TestCafe
Published on LogRocket by Gbolahan Olagunju – Feb 27, 2020

Read More

Handle API Responses With Ease Using Mocks in TestCafe
Published on Dev Tester by Dennis Martinez – Feb 25, 2020

How can you test external services that you have no control over? Learn how to use mocks in TestCafe to build reliable tests when using third-party APIs.

Read More

TestCafe Studio: Is It Better Than Writing Your Own Tests?
Published on Dev Tester by Dennis Martinez – Feb 18, 2020

How does TestCafe Studio fare when creating end-to-end tests for your web app without having to code? Find out in this introduction to the tool.

Read More

Using the 'After' Hook in TestCafe to Clean Up Data
Published on dev.to by Marques Woodson – Feb 15, 2020

Here's a quick tutorial on how to use the "after" hook on a TestCafe test.

Read More

TestCafe: A Perfect Automation Tool for Web-Based Applications
Published on Celestial Systems Blog by Sumana Ramesh – Feb 14, 2020

If you are looking for an alternative product like Selenium here's another new cool web testing tool, TestCafe. With TestCafe, you can write tests in JavaScript and TypeScript and it is easy to use, free and has enhanced features, which helps the testers in overcoming the efforts of setting up plugins.

Read More

Test Your Website's Responsive Design With TestCafe
Published on Dev Tester by Dennis Martinez – Feb 4, 2020

Mobile Internet usage is on the rise. You need to ensure your website works no matter the screen size. TestCafe helps you automate these tests easily.

Read More

Percy and TestCafe: Stop Letting Visual Bugs Slip by You
Published on Dev Tester by Dennis Martinez – Jan 28, 2020

Visual testing can be tedious and error-prone work. Learn how to easily automate visual testing with Percy and TestCafe.

Read More

JavaScript: the Future of End-to-End Testing
Published on Medium by Michael Bodnarchuk – Jan 20, 2020

End-to-end testing used to follow a very conservative approach. Everyone was using Java/Python/Ruby with Selenium and it really felt that there is no good alternative to this setup. Selenium was everywhere and at some point, it even transformed its protocol to W3C standard. Ok, we have a W3C standard now, so why do we need alternatives?

Read More

Make Your Website Accessible With axe and TestCafe
Published on Dev Tester by Dennis Martinez – Jan 20, 2020

Making websites accessible to people with disabilities is often omitted. Tools like axe and TestCafe can easily automate accessibility testing for you.

Read More

Run Your Tests on the Cloud With TestCafe and BrowserStack
Published on Dev Tester by Dennis Martinez – Jan 14, 2020

TestCafe has excellent browser support for testing your web application. Learn how to combine TestCafe with BrowserStack to cover all your testing needs.

Read More

Fix Your Flaky End-To-End Tests With Testing Library
Published on Dev Tester by Dennis Martinez – Jan 7, 2020

It's not uncommon for end-to-end tests to fail when the UI changes. Learn how to minimize the risk of failures in your tests with Testing Library.

Read More

End-to-End Testing for Vue.js Applications Using TestCafe
Published on Medium by Hardik Raval – Dec 31, 2019

Read More

Email Testing Made Simple With TestCafe and Mailosaur
Published on Dev Tester by Dennis Martinez – Dec 31, 2019

Testing emails in a web application is often a tedious, error-prone manual process. Automate this testing easily and quickly using TestCafe and Mailosaur.

Read More

How to Get Started With TestCafe
Published on Dev Tester by Dennis Martinez – Dec 24, 2019

TestCafe is a powerful tool for creating a robust end-to-end test suite for your web application. Learn how simple it is to start using this tool.

Read More

How to Automate Web Analytics Testing
Published on Engineering Quality by Tushara – Sep 4, 2019

Read More

Setting Up a Project With CI/CD Using Amplify
Published on Jan Hesters' Blog by Jan Hesters – Aug 20, 2019

In this tutorial, you are going to learn how to set up a project with CI/CD. We are going to use the Amplify console to automate our deployment.

Read More

How to Iterate Links and Skip an Item in TestCafe
Published on Engineering Quality by Tushara – Aug 11, 2019

Read More

Run Integration Tests With GitHub Actions (React + TestCafe)
Published on Medium by Gaurav Chikhale – Aug 5, 2019

A while ago I was setting up integration testing at work for a react app, since we were using GitHub actions to run unit tests it make sense to use the same setup for Integration tests as well. We decided to use the TestCafe to write those tests. This is going to be a very short article about how to run Integration tests for ReactApp with GitHub Actions.

Read More

Differences Between WebdriverIO and TestCafe
Published on Engineering Quality – Jul 28, 2019

Read More

Injecting Cookies in Your TestCafe Automation
Published on Rafaela Azevedo's Blog by Rafaela Azevedo – Jul 24, 2019

Read More

Selenium is Dead. Long Live TestCafe!
Published on LinkedIn by Robert Dzikowski – Jul 7, 2019

Read More

Concurrency and Test Data in TestCafe
Published on dev.to by Marques Woodson – Jun 26, 2019

TestCafe is great. It makes it super simple to add e2e testing to your repertoire, making you not only the front-end engineer but the QA engineer too. In my time using TestCafe I have run into situations that I think are common to most test suites. Doing something like creating/deleting user data before and after tests while using concurrency can give you some trouble. I'll show you how I've setup a project to handle this situation.

Read More

The Ease of Executing Scripts in TestCafe
Published on Engineering Quality by Tushara – May 31, 2020

We often focus on the amount of work it takes for an automation engineer to build and maintain a test framework. While all that is true I would like to take a minute or two to talk about the grey box testers or manual testers or anyone on the team like project managers, who may not develop the test framework but run the automated tests.

Read More

End-to-End Web Testing With TestCafe
Published on Engineering Quality by Tushara – May 21, 2019

Before we get into what is TestCafe, let's see why I started looking into JavaScript end to end testing frameworks.

Read More

Creating a Visual Regression Tool for Your Web App
Published on Medium by Greg Byrne – Apr 29, 2019

Automating "spot the difference" using TestCafe and ResembleJS.

Read More

End-to-End Web Testing With TestCafe
Published on Medium by Jennifer Proust – Mar 7, 2019

Read More

Why we Fancied TestCafe Over WebDriver for a Modern Web App?
Published on Imaginea by Balaji Sreenivasan – Dec 3, 2018

Read More

Evaluating Cypress and TestCafe for End-to-End Testing
Published on Medium by Tamlyn Rhodes – Mar 29, 2018

Two frameworks have appeared on the scene recently eschewing the long held belief that end to end testing of web applications means building upon Selenium. Cypress and TestCafe are similar in many ways but have some important differences.

Read More