Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
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

Preface

TestCafe is a self-sufficient, free, and open source end-to-end testing framework that combines unmatched ease of use with advanced automation and robust built-in stability mechanisms. It can be used to write fast and reliable tests.

Modern Web Testing with TestCafe is a comprehensive, project-based introduction for those who are new to TestCafe. You'll build a suite of end-to-end tests while learning the core methods and concepts along the way.

You'll learn how to write end-to-end tests using the TestCafe syntax, and the features of the TestCafe framework. You'll go from setting up the environment all the way to writing production-ready tests. Throughout the book, we'll build a sample set of tests step by step that will log in to the website, verify the elements present on different pages, create/delete entities, and execute custom JavaScript code, using TestCafe. Additionally, there will be several stages of refactoring, to showcase setup/teardown and PageObjects. While this test suite is relatively simple to build, it allows some of the most prominent features of TestCafe to be showcased. Additionally, it demonstrates the running of the tests against a free and simple-to-use website, and it does not require readers to build and deploy their own servers or backend services.

By the end of this book, you will know how to write and enhance end-to-end tests with TestCafe in order to solve real-world problems and deliver results. You'll also have a proof of concept to demonstrate to others.

Disclaimer:

Please note the book is not written or produced by Developer Express Inc. Developer Express Inc is not affiliated with Packt and the book is copyright of Packt Publishing Pvt. Ltd.

lock icon The rest of the chapter is locked
Next Section arrow right
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