Playwright Automation Testing from Scratch 0 to Hero 2025

所在平台: Udemy

课程主页: https://www.udemy.com/course/microsoft-playwright-web-automation-testing/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:Playwright 自动化测试从零到英雄 2025 课程概述: 本课程涵盖了 Playwright 框架的所有基本概念。我们将从零开始,首先进行环境的设置和配置,然后通过实操框架概述来帮助你熟悉环境。随后,课程逐步增加复杂性,每节课都有逻辑进展,并与前一节所学的内容相连。课程中将覆盖两个测试应用,并逐步添加代码以揭示新的主题。建议按照发布的顺序观看所有课程,如果需要,可以暂停视频以完成代码。实践是学习的最佳方式。此外,建议全屏观看课程,以便更清晰地查看文本。跳过课程或不按顺序观看可能导致知识空白或不明确的感觉。 学习内容: - 如何从零开始安装 Playwright,或将其添加到现有的前端应用项目中。 - JavaScript 基础知识,适合编程初学者。 - 如何通过命令行界面、UI 模式、Playwright 扩展运行测试和调试测试。 - 如何组织和结构化测试,使用测试钩子。 - HTML 术语,定位语法规则,以及 Playwright 最佳实践以定位网页元素。 - 不同类型的断言,自动等待概念的工作原理,以及如何配置不同的超时设置。 - 如何处理不同的 UI 组件,如输入框、单选按钮、复选框、列表、提示框、对话框、日期选择器、网页表格、iFrames、滑块、拖放等。 - 页对象模型(Page Object Model)的概念,如何用页对象组织测试框架代码,以及推荐的架构。 - 如何与 API 进行交互:API 模拟、API 请求、拦截 API 调用、共享存储状态、API 认证。 - 多项高级主题:测试夹具、全局设置和拆卸、并行执行、测试标签、测试重试、视觉测试、移动设备仿真、报告生成器、环境变量以及在 Docker 容器中执行测试。 本课程专为希望深入了解 Playwright 自动化测试的学习者设计,适合各个层次的学员。通过系统的学习和实践,帮助学员掌握自动化测试的核心技能。

课程评论(0条)

课程详情

This class covers all fundamental concepts of the framework. We begin from scratch, starting with setup and configuration and then a hands-on framework overview to familiarize yourself with the environment. Then from lesson to lesson, we slowly increase complexity. All lessons have a logical progression and are connected. The next lesson in the section builds up a new concept on top of what was learned in the previous lesson. This is also related to the code demonstrated in the class. We will have two test applications, and slowly over the course will add more and more code uncovering new topics.Watch all lessons in the order they have been published. Write the code from the class along with me. If needed, pause the video to complete the code. Practicing - is the best way to learn. Also, I would recommend watching the lessons in full-screen mode because sometimes the text on the screen can be small and hard to read. If you skip lessons or watch them not in order, be ready that you may have a feeling of a knowledge gap, or that something is not clear.What you will learn:How to install Playwright from scratch as a new independent project or add to an existing front-end application project.JavaScript Fundamentals in case you are a beginner to programming.How to run tests using the command line interface, UI mode, Playwright extension, and debug testsHow to organize tests, structure tests, use test hooksHTML terminology, locator syntax rules, and Playwright best practices to locate web elements.Different types of assertions, how auto-waiting concept works, and how to configure different timeouts.How to work with different UI components, such as input fields, radio buttons, checkboxes, lists, tooltips, dialog boxes, date pickers, web tables, iFrames, sliders, drag and drop.What is the Page Object Model. How to organize test framework code with Page Objects. Recommended architecture for Page Object model with PlaywrightHow to work with APIs: API mocking, API requests, intercept API calls, shared storage state, API authenticationMultiple advanced topics: fixtures, global setup and teardown, parallel execution, test tags, test retries, visual testing, mobile device emulation, reporters, environment variables, and test execution in Docker container.

课程标签

0人关注该课程

主题相关的课程