Home Page Icon
Home Page
Table of Contents for
B16280_TOC_Final_JM_ePub
Close
B16280_TOC_Final_JM_ePub
by Dmytro Shpakovskyi
Modern Web Testing with TestCafe
Modern Web Testing with TestCafe
Why subscribe?
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Conventions used
Get in touch
Reviews
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
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
Leave a review - let other readers know what you think
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Modern Web Testing with TestCafe
Next
Next Chapter
Preface
Table of Contents
Preface
Chapter 1:
Why TestCafe?
Introducing TestCafe10
Exploring the main features of TestCafe11
Introducing TestCafe Studio12
Comparing TestCafe and Selenium13
Reviewing the test project we will build15
Selecting a test application15
Writing test cases16
Summary27
Chapter 2:
Exploring TestCafe Under the Hood
Scouting the TestCafe architecture30
The server side31
The client side31
Learning about the TestCafe API33
Elements selection33
Assertions40
User roles43
Executing custom client-side code44
Summary46
Chapter 3
:
Setting Up the Environment
Technical requirements47
Setting up the test project environment48
Installing Node.js48
Installing TestCafe49
Creating the test project configuration file50
Accepting code styling convention50
Exploring the configuration settings51
Creating a basic configuration for the test project61
Structuring the test code62
Fixtures62
Tests63
The starting web page63
Metadata64
Skipping tests65
Summary66
Chapter 4
:
Building a Test Suite with TestCafe
Technical requirements70
Creating a test70
Running the test72
Performing actions73
Debugging the tests73
Debugging tests in TestCafe74
Debugging tests in Chrome Developer Tools77
Writing the test project log in tests79
Adding verifications to the test project83
Adding assertion for the user creation test83
Adding assertion for the log in test84
Adding the log out test84
Adding custom code execution to the test project85
Adding more tests88
Adding the new issue creation test88
Adding the new issue is displayed on a project page test90
Adding the issue editing test92
Adding the updated issue is displayed on a project page test95
Adding the issue searching test97
Adding the issue deletion test99
Adding the file uploading test101
Adding the file deletion test104
Summary106
Chapter 5:
Improving the Tests
Technical requirements107
Executing selected tests108
Exploring test setup and teardown110
Running tests with command-line settings120
Summary124
Chapter 6:
Refactoring with PageObjects
Technical requirements125
Adding a Role for logging in126
Chapter 7:
Findings from TestCafe
Technical requirements139
Taking a final step with test functions140
Exploring TestCafe development and future plans149
Additional references to useful resources150
Summary151
Other Books You May Enjoy
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset