|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/cypress-automated-testing-from-beginner-to-advanced/
课程评论:没有评论
**课程名称:** Cypress Automation Simplified: Build Frameworks the Easy Way **课程概述:** 本课程旨在帮助您全面掌握 Cypress 自动化测试框架,并学会如何充分利用其各项核心功能。Cypress 是一款现代化的、基于 JavaScript 的工具,集成了测试运行器、断言库、报告器等实用功能,为用户提供了一站式的解决方案,使其在测试速度和效率方面表现出色。 即使您对 JavaScript 不熟悉,也无需担心。Cypress 的自动化测试编写体验更侧重于通过一系列清晰的命令来与浏览器进行交互,而非传统的编程方式,更像是在 Cypress 提供的结构中进行脚本编写。 课程将从设置测试环境、熟悉 Cypress 的核心命令和操作开始。您还将学习如何识别和定位 DOM 中的 Web 元素。 除了自动化测试的最佳实践外,课程还将深入探讨高级主题,包括如何构建基于 Page Object Model(页面对象模型)的测试框架,这是一种在实际项目中广泛应用的方法。您还将学会如何为测试添加截图和视频录制,以及如何配置测试套件的报告。 学完本课程后,您将具备熟练运用 Cypress 的技能、知识和信心!
This course will guide you through a complete mastery of the Cypress framework, teaching you how to leverage all its essential features. Cypress is a modern, JavaScript-based tool that includes everything you need right from the start: a Test Runner, assertion libraries, reporters, and more. This all-in-one setup makes Cypress extremely fast and efficient! Even if you're new to JavaScript, there's no need to worry. Writing automated tests in Cypress feels more like following a sequence of straightforward commands to interact with the browser, rather than traditional programming. It's primarily a scripting approach within the structure Cypress provides.We'll begin by setting up the test environment and getting familiar with Cypress's core commands and actions. You'll also learn to identify and work with selectors for web elements in the DOM.In addition to best practices in automated testing, we'll delve into advanced topics, such as building a testing framework using the Page Object Model-a common approach in real-world projects. You'll discover how to add screenshots and video recordings to your tests, as well as how to configure reports for your test suites.By the end of this course, you'll have the skills, knowledge, and confidence to become proficient in Cypress!