Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Modern Web Testing with TestCafe

You're reading from   Modern Web Testing with TestCafe Get to grips with end-to-end web testing with TestCafe and JavaScript

Arrow left icon
Product type Paperback
Published in Sep 2020
Publisher Packt
ISBN-13 9781800200951
Length 168 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Dmytro Shpakovskyi Dmytro Shpakovskyi
Author Profile Icon Dmytro Shpakovskyi
Dmytro Shpakovskyi
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. Chapter 1: Why TestCafe? 2. Chapter 2: Exploring TestCafe Under the Hood FREE CHAPTER 3. Chapter 3: Setting Up the Environment 4. Chapter 4: Building a Test Suite with TestCafe 5. Chapter 5: Improving the Tests 6. Chapter 6: Refactoring with PageObjects 7. Chapter 7: Findings from TestCafe 8. Other Books You May Enjoy

Summary

In this chapter, we reviewed what TestCafe is and its main features. While comparing TestCafe with its old and canonical rival – Selenium – we observed the strong and weak points of both frameworks. The main difference between Selenium and TestCafe is that Selenium is more heavyweight as it runs code through the Selenium server by interacting with the browser process itself, whereas TestCafe inserts a proxy in between that rewrites each URL and injects the test scripts into the browser. It runs as a Node.js process and can perform operations in both Node.js and browser contexts. The primary goal of TestCafe is to provide a modern tool that mitigates main test automation pain points and provides a convenient way to set up, maintain, and create new tests.

We also went through the testing project and came up with a plan for what test cases should be covered with the upcoming automation.

In the next chapter, we will dive deeper and see how TestCafe operates...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime