Autoplay



Hi everyone, and welcome to my course - Introduction to End-to-End Web Testing with TestCafe.

My name is Moataz Nabil, and I'm very happy to be your instructor in this course.

Let me introduce myself.

Currently, I'm working as a Senior Software Engineer in Test at Delivery Hero in Berlin, in Germany, with more than twelve years of development and test automation experience. I worked with different business domains like agriculture, telecom, healthcare, fashion, and food delivery. I designed test automation frameworks for web, mobile, and API using a different set of tools and programming languages. And also, I Implemented different CI/CD pipelines using different tools such as GitLab, Bitbucket, Bitrise, GitHub Actions, and Jenkins.


# What is TestCafe?

TestCafe is a free and open-source Node.js tool to automate end-to-end web testing.

It runs on Windows, macOS, and Linux.

TestCafe supports desktop browsers, mobile, remote, and cloud browsers, for both UI and headless testing.

You can write tests with TestCafe in JavaScript or TypeScript.

TestCafe is an alternative to other automation and testing solutions.

You can Install TestCafe with one command with Node.js, and you are ready to test.

TestCafe is driven by unique technology, which provides fast and simple cross-browser testing for desktop and mobile browsers.

Unlike WebDriver or Puppeteer, TestCafe doesn't control a browser at all. It's not a browser itself, like Cypress, but TestCafe core is a proxy server that runs behind the scenes and transforms all HTML and JavaScript files to include code that is needed for test automation.


# Why use TestCafe?

  • We never have to care about waiting for an element or the page to be loaded, because TestCafe automatically handles all of these things.

  • Running multiple browsers in parallel is super simple, without any special setup - just a command.

  • Supports the page object model, Data-Driven, and BDD.

  • Compatible with all of the continuous integration systems - such as Jenkins, TeamCity, Travis, GitHub Actions, etc


# What we will cover during this course

Our course content will include the following topics:

  • Introduction to TestCafe

  • Install and setup TestCafe on different operating systems, such as macOS and Windows OS

  • Getting started with TestCafe by writing our first test case

  • Exploring more features with TestCafe, like working with different elements, such as dropdown list, radio buttons, slider, upload file, assertions, and more

  • Learn how to run TestCafe or execute TestCafe tests on different browsers

  • Deep dive with TestCafe and know more about wait mechanism, taking screenshots, and recording videos for our tests

  • How to implement the page object model with TestCafe

  • Working with data-driven tests in TestCafe

  • BDD tests with TestCafe and the CucumberJS

  • Working with different reporting solutions with TestCafe

  • Integration between TestCafe for visual validation and Applitools

  • Running our TestCafe tests with GitHub Actions as our CI server

  • Use TestCafe with Docker and the Docker Images

  • Run TestCafe tests on remote devices, such as mobile device

  • Integrate TestCafe with the Report Portal, the AI-powered dashboard


# Course prerequisites

We should have:

  • NodeJS and NPM installed on our machines

  • An IDE, such as Visual Studio Code, because it's highly recommended

Nice to have:

  • Git commands installed on your machine

  • GitHub account and Applitools account

And now, let's begin our journey with TestCafe. I hope that the course will be useful and added value for everyone. Thank you.



Resources

© 2024 Applitools. All rights reserved. Terms and Conditions Privacy Policy GDPR