Packt
Cypress Automation Testing Framework - Zero To Hero
Packt

Cypress Automation Testing Framework - Zero To Hero

Included with Coursera Plus

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

20 hours to complete
3 weeks at 6 hours a week
Flexible schedule
Learn at your own pace
Earn a Certificate
With paid plans
Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

20 hours to complete
3 weeks at 6 hours a week
Flexible schedule
Learn at your own pace
Earn a Certificate
With paid plans

What you'll learn

  • Master Cypress commands and syntax to write and execute tests.

  • Utilize Cypress features like Intellisense, XPath, and advanced locators for more accurate tests.

  • Learn how to manage complex web UI interactions and handle multiple tabs and popups.

  • Automate API testing with Cypress, including REST API methods and OAuth 2.0 integration.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

May 2025

Assessments

22 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal
Coursera Career Certificate

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV

Share it on social media and in your performance review

Coursera Career Certificate

There are 21 modules in this course

In this module, we will provide an overview of the course objectives, structure, and expected outcomes. We will also delve into the architecture of Cypress and compare it to Selenium, helping you understand their key differences in automation testing.

What's included

2 videos1 reading1 assignment

In this module, we will guide you through the installation of NodeJS and Visual Studio Code on both Windows and Mac. We’ll also demonstrate how to set up a Cypress project on each platform to ensure your environment is ready for automation testing.

What's included

2 videos1 assignment

In this module, we will cover how to install Cypress and introduce you to the Cypress Test Runner. You’ll also learn about the folder structure of a Cypress project and how to update Cypress to the latest version for optimal performance.

What's included

4 videos1 assignment

In this module, we will walk you through writing your first Cypress test case and executing tests using various commands. We will also explore how to leverage Visual Studio Code’s Intellisense to improve your Cypress scripting.

What's included

5 videos1 assignment

In this module, we will focus on working with XPath in Cypress, demonstrating the techniques and best practices for using XPath effectively in your test cases.

What's included

1 video1 assignment

In this module, we will dive deeper into key Cypress commands such as 'get', 'within', and 'find'. You’ll learn how to chain commands together for more efficient tests and work with child elements effectively.

What's included

4 videos1 assignment

In this module, we will explain the differences between synchronous and asynchronous behaviors in Cypress. You will also learn how to handle promises and asynchronous operations in your test scripts.

What's included

2 videos1 assignment

In this module, we will explore how to work with different types of assertions in Cypress, including implicit and explicit assertions, and the most commonly used ones for validating test results.

What's included

3 videos1 assignment

In this module, we will guide you through various web UI interactions, such as clicking elements in multiple ways, handling checkboxes and dropdowns, and using Cypress commands like trigger and invoke for mouseover actions.

What's included

7 videos1 assignment

In this module, we will explore how to interact with lists of elements using commands like 'each' and 'wrap'. We’ll also demonstrate how to manage dynamic dropdowns with auto-suggest features.

What's included

3 videos1 assignment

In this module, we will show you how to handle JavaScript alerts, popups, and confirmation dialogs, as well as manage multiple tabs, windows, and iframes during automation testing.

What's included

4 videos1 assignment

In this module, we will address common challenges, such as handling uncaught exceptions and testing scenarios where empty data inputs are involved.

What's included

1 video1 assignment

In this module, we will focus on framework preparation, including the use of hooks, managing test data with fixtures, and creating custom commands for more maintainable and efficient Cypress tests.

What's included

6 videos1 assignment

In this module, we will introduce the Page Object Model framework and guide you through creating and refactoring test suites to improve maintainability and scalability.

What's included

5 videos1 assignment

In this module, we will teach you how to capture and use screenshots and videos for detailed analysis, generate comprehensive reports, and utilize the Cypress Cloud Dashboard for centralized test monitoring.

What's included

5 videos1 assignment

In this module, we will explore advanced features of Cypress, such as configuring environment variables for dynamic test configuration and testing with the Safari WebKit browser.

What's included

2 videos1 assignment

In this module, we will introduce you to REST API architecture, covering the key components, HTTP methods, and verification strategies necessary for effective API testing.

What's included

6 videos1 assignment

In this module, we will guide you through automating API requests (GET, POST, PUT, DELETE) in Cypress, using aliases for cleaner code, and incorporating OAuth 2.0 for secure authentication.

What's included

8 videos1 assignment

In this module, we will introduce you to Git and GitHub, covering installation, repository management, and techniques for resolving merge conflicts when working on collaborative projects.

What's included

9 videos1 assignment

In this module, we will teach you how to use Jenkins for continuous integration, including setup, plugin management, and integrating with Git for streamlined project builds.

What's included

8 videos1 assignment

In this module, we will cover advanced CSS selector techniques, including using IDs, multiple classes, wildcards, and child node selection for precise and flexible element targeting in Cypress tests.

What's included

4 videos2 assignments

Instructor

Packt - Course Instructors
Packt
679 Courses103,054 learners

Offered by

Packt

Why people choose Coursera for their career

Felipe M.
Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Career resources

Coursera Plus

Unlock access to 10,000+ courses with a subscription

Explore roles and skills, learn more effectively with Coursera Coach, and earn recognized credentials

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions