Description |
1 online resource (168 p.) |
Note |
Description based upon print version of record. |
Contents |
Cover -- Copyright -- About PACKT -- Contributors -- Table of Contents -- Preface -- Chapter 1: Why TestCafe -- Introducing TestCafe -- Exploring the main features of TestCafe -- Introducing TestCafe Studio -- Comparing TestCafe and Selenium -- Reviewing the test project we will build -- Selecting a test application -- Writing test cases -- Summary -- Chapter 2: Exploring TestCafe Under the Hood -- Scouting the TestCafe architecture -- The server side -- The client side -- Learning about the TestCafe API -- Elements selection -- Assertions -- User roles -- Executing custom client-side code |
Summary |
Chapter 3: Setting Up the Environment -- Technical requirements -- Setting up the test project environment -- Installing Node.js -- Installing TestCafe -- Creating the test project configuration file -- Accepting code styling convention -- Exploring the configuration settings -- Creating a basic configuration for the test project -- Structuring the test code -- Fixtures -- Tests -- The starting web page -- Metadata -- Skipping tests -- Summary -- Chapter 4: Building a Test Suite with TestCafe -- Technical requirements -- Creating a test -- Running the test -- Performing actions. |
Contents |
Debugging the tests -- Debugging tests in TestCafe -- Debugging tests in Chrome Developer Tools -- Writing the test project log in tests -- Adding verifications to the test project -- Adding assertion for the user creation test -- Adding assertion for the log in test -- Adding the log out test -- Adding custom code execution to the test project -- Adding more tests -- Adding the new issue creation test -- Adding the new issue is displayed on a project page test -- Adding the issue editing test -- Adding the updated issue is displayed on a project page test -- Adding the issue searching test |
|
Adding the issue deletion test -- Adding the file uploading test -- Adding the file deletion test -- Summary -- Chapter 5: Improving the Tests -- Technical requirements -- Executing selected tests -- Exploring test setup and teardown -- Running tests with command-line settings -- Summary -- Chapter 6: Refactoring with PageObjects -- Technical requirements -- Adding a Role for logging in -- Chapter 7: Findings from TestCafe -- Technical requirements -- Taking a final step with test functions -- Exploring TestCafe development and future plans -- Additional references to useful resources -- Summary |
|
Other Books You May Enjoy -- Index |
Summary |
TestCafe is a lightweight end-to-end solution based on JavaScript and TypeScript. This quick and functional guide is your introduction to learning and implementing the core concepts of TestCafe and building a complete end-to-end test suite through step-by-step guidance and expert practices. |
Local Note |
eBooks on EBSCOhost EBSCO eBook Subscription Academic Collection - North America |
Subject |
Web applications -- Testing.
|
Other Form: |
Print version: Shpakovskyi, Dmytro Modern Web Testing with TestCafe : Get to Grips with End-To-end Web Testing with TestCafe and JavaScript Birmingham : Packt Publishing, Limited,c2020 9781800200951 |
ISBN |
1800205961 |
|
9781800205963 (electronic bk.) |
|