|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/playwright-tutorials-automation-testing/
课程评论:没有评论
课程名称:从零开始的 Playwright JS/TS 自动化测试与框架 课程概述:此课程于 2025 年 3 月 2 日更新,包含编码面试练习。欢迎参加全面的 Playwright 课程,本课程从基础知识到框架进行讲解,包括 JavaScript 基础知识,不需要任何 JavaScript 的先前经验。课程完全以实践为导向,我们将使用一个功能完整的电子商务应用进行测试,并学习如何自动化应用程序的每个场景,包括现代 React 和 Angular 应用中常用的动态组件。 我们还将探索如何通过 Playwright 进行 API 测试,以在应用程序中创建数据。课程将演示如何进行端到端功能测试,包括在单个脚本中进行 UI 测试和 API 测试。该脚本用于创建数据、测试场景和删除数据。课程还将讨论高级主题,如使用 API 和响应抓取会话 cookie,以绕过 UI 登录屏幕,从而实现更快速、更可靠的执行。 通过 Playwright 一切皆有可能,本课程展示了一种系统方法来处理复杂的电子商务应用,具有战略性设计的自动化测试用例。课程涵盖了两种强大的框架来设计测试用例:Playwright Cucumber BDD 框架和 Playwright 与 Mocha。这两个框架基于页面对象设计模式,能够从外部源获取数据,并使用自定义工具方法生成出色的 HTML 报告。 最后,完整框架将与 CI/CD Jenkins 集成,并使用 Docker 容器运行测试。需要注意的是,Playwright 具有强大的日志功能,包括截图、视频,以及内置功能 Playwright Inspector 和 Traces,以便在执行后获得详细视图。整个课程将通过实际演示展示这些功能。 总之,这门课程是您成为 Playwright 英雄、掌握现代端到端测试自动化的首选之地。请注意,我们使用 JavaScript 语言绑定来构建 Playwright 自动化测试(JavaScript 是 Playwright 主要使用的语言)。针对初学者,课程最后一节提供 3 小时的 JavaScript 视频,涵盖所有基础知识,并配有编码作业和测验,为候选人准备面试提供支持。 课程结构简介: - Playwright Web/UI 自动化(50%)- 掌握核心 Playwright 概念,实现全面的 UI 自动化。 - 混合 Web 和 API 测试与网络模拟(25%)- 通过结合 UI 和 API 测试的网络模拟能力扩展技能。 - Playwright 高级框架功能(25%)- 深入了解高级 Playwright 框架,实现最佳测试设计。 - 可选:初学者的 JavaScript 基础(3 小时) - 打造坚实的 JavaScript 基础,以自信探索 Playwright。 成为 Playwright 英雄,迎接端到端测试自动化的未来。立即报名!
**Course last updated on March 2nd 2025 with Coding Interview exercises**Welcome to the comprehensive Playwright course that covers everything from the basics to frameworks, including JavaScript fundamentals without need of any prior JavaScript experience.This course is entirely practical. We will use a fully functional e-commerce application for testing and learn how to automate every scenario of the application, including dynamic components often used in modern React and Angular applications.We will also explore how to perform API testing to create data within the application using Playwright.The course will show you how to conduct end-to-end functional testing, which includes both UI testing and API testing in a single script. This script creates data, tests scenarios, and deletes the data.Advanced topics are discussed, such as grabbing session cookies using APIs and responses to bypass the UI login screen for faster and more reliable execution.Everything is possible with Playwright, and this course demonstrates a systematic way to handle complex e-commerce applications with strategically designed automated test cases.The course covers two powerful frameworks for designing test cases:Playwright Cucumber BDD FrameworkPlaywright with MochaThese two frameworks are built on top of page object design patterned tests, which take data from external sources and use custom utility methods to produce outstanding HTML reports.Finally, the complete framework will be integrated with CI/CD Jenkins and use Docker containers to run the tests.It's important to note that Playwright has powerful logging capabilities, including screenshots, videos, and built-in features called Playwright Inspector and Traces for a detailed view of post-execution. These features are demonstrated with live demos throughout the course.In conclusion, this course is a one-stop shop for you to become a Playwright hero and take charge of modern, full end-to-end test automation.Note: We are using JavaScript language binding to build Playwright Automation tests. (Js is mainly picked language for Playwright)For Beginners, there is 3 hours Javascript video in the last section of this course which covers all JS basics from Scratch including coding Assignments and quizzes which prepares candidates for Interviews.Course Structure Breakdown:Playwright Web/UI Automation (50%) - Master core Playwright concepts for comprehensive UI automation.Mixed Web & API Testing with Network Mocking (25%) - Expand your skills by combining UI and API testing with network mocking capabilities.Playwright Advanced Framework Features (25%) - Dive deep into advanced Playwright frameworks for optimal test design.Optional: JavaScript Basics for Beginners (3 hrs) - Build a solid JavaScript foundation for confident Playwright exploration.Become a Playwright hero and embrace the future of end-to-end test automation. Enroll today!