Packt
Cypress Automation Testing Framework - Zero To Hero
Packt

Cypress Automation Testing Framework - Zero To Hero

包含在 Coursera Plus

深入了解一个主题并学习基础知识。
中级 等级

推荐体验

3 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度
深入了解一个主题并学习基础知识。
中级 等级

推荐体验

3 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度

您将学到什么

  • 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.

要了解的详细信息

可分享的证书

添加到您的领英档案

最近已更新!

May 2025

作业

23 项作业

授课语言:英语(English)

了解顶级公司的员工如何掌握热门技能

Petrobras, TATA, Danone, Capgemini, P&G 和 L'Oreal 的徽标

该课程共有21个模块

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.

涵盖的内容

2个视频1篇阅读材料1个作业

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.

涵盖的内容

2个视频1个作业1个插件

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.

涵盖的内容

4个视频1个作业1个插件

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.

涵盖的内容

5个视频1个作业1个插件

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.

涵盖的内容

1个视频1个作业1个插件

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.

涵盖的内容

4个视频1个作业1个插件

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.

涵盖的内容

2个视频1个作业1个插件

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.

涵盖的内容

3个视频1个作业1个插件

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.

涵盖的内容

7个视频1个作业1个插件

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.

涵盖的内容

3个视频1个作业1个插件

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.

涵盖的内容

4个视频1个作业1个插件

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

涵盖的内容

1个视频1个作业1个插件

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.

涵盖的内容

6个视频1个作业1个插件

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.

涵盖的内容

5个视频1个作业1个插件

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.

涵盖的内容

5个视频1个作业1个插件

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.

涵盖的内容

2个视频1个作业1个插件

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.

涵盖的内容

6个视频1个作业1个插件

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.

涵盖的内容

8个视频1个作业1个插件

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.

涵盖的内容

9个视频1个作业1个插件

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.

涵盖的内容

8个视频1个作业1个插件

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.

涵盖的内容

4个视频3个作业

位教师

Packt - Course Instructors
Packt
971 门课程232,003 名学生

提供方

Packt

从 Software Development 浏览更多内容

人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.
自 2018开始学习的学生
''能够按照自己的速度和节奏学习课程是一次很棒的经历。只要符合自己的时间表和心情,我就可以学习。'
Jennifer J.
自 2020开始学习的学生
''我直接将从课程中学到的概念和技能应用到一个令人兴奋的新工作项目中。'
Larry W.
自 2021开始学习的学生
''如果我的大学不提供我需要的主题课程,Coursera 便是最好的去处之一。'
Chaitanya A.
''学习不仅仅是在工作中做的更好:它远不止于此。Coursera 让我无限制地学习。'
Coursera Plus

通过 Coursera Plus 开启新生涯

无限制访问 10,000+ 世界一流的课程、实践项目和就业就绪证书课程 - 所有这些都包含在您的订阅中

通过在线学位推动您的职业生涯

获取世界一流大学的学位 - 100% 在线

加入超过 3400 家选择 Coursera for Business 的全球公司

提升员工的技能,使其在数字经济中脱颖而出

常见问题