/Modern-Web-Testing-with-TestCafe

Modern Web Testing with TestCafe, published by Packt

Primary LanguageJavaScriptMIT LicenseMIT

Modern Web Testing with TestCafe

Modern Web Testing with TestCafe

This is the code repository for Modern Web Testing with TestCafe, published by Packt.

Get to grips with end-to-end web testing with TestCafe and JavaScript

What is this book about?

TestCafe is an open source end-to-end testing framework that combines unmatched ease of use with advanced automation and robust built-in stability mechanisms. This book is a comprehensive, project-based introduction to TestCafe that will show you how to use the TestCafe framework and enable you to write fast and reliable tests; plus you’ll have a proof of concept ready to demonstrate the practical potential of TestCafe.

This book covers the following exciting features:

  • Understand the basic concepts of TestCafe and how it differs from classic Selenium
  • Find out how to set up a TestCafe test environment
  • Run TestCafe with command-line settings
  • Verify and execute TestCafe code in the browser
  • Automate end-to-end testing with TestCafe using expert techniques

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

const { Selector } = require('testcafe');
const linkTest = Selector('#block-test')
.child('a')
.withAttribute('href', 'https://test-site.com/main.html')
.withText('Second link');

Following is what you need for this book:

The book is for QA professionals, test engineers, software engineers, and test automation enthusiasts looking for hands-on guidance on learning about TestCafe. This book is also great for full-stack developers who want to learn more about new tools for testing their code. The book assumes a basic understanding of JavaScript, Node.js, HTML, CSS, and some simple Bash commands.

With the following software and hardware list you can run all code files present in the book (Chapter 3-7).

Software and Hardware List

Chapter Software required OS required
3-7 TestCafe Any platform
3-7 ECMAScript 6+(also known as ES6+ and ECMAScript 2015+) Any platform
3-7 Web Browser, Command Pronmpt (CMD) Any platform

Related products

Get to Know the Author

Dmytro Shpakovskyi has over 10 years of experience in the quality assurance (QA),software testing, and software-as-a-service industries. Skilled in end-to-end, load, and API test automation, he is certified by the ISTQB. During his successful career, Dmytro has led on QA automation for a platform of 60+ highly scalable web applications and services, built and maintained numerous test automation frameworks, managed distributed teams of QA automation engineers, mentored, and helped to convert manual test engineers to test automation. You can often find Dmytro creating and open-sourcing new test automation frameworks, mentoring other QA engineers, or exploring new tools and techniques for automated testing.