|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/web-and-api-automation-using-playwright-csharp/
课程评论:没有评论
课程名称:使用 Playwright 和 C# 进行 Web 和 API 自动化 课程概述: 随着 Playwright 市场的不断增长,Playwright 自动化测试人员的需求也在全球范围内急剧增加。本课程将教授如何使用最新版本的 Playwright 和 C# 进行自动化测试,涵盖多个关键主题: 1. **处理框架和窗口**:学习如何在复杂的 UI 中处理嵌套的框架和弹出窗口。 2. **多重断言**:掌握在 UI 测试中使用多重断言,确保应用程序的各个方面都按预期工作。 3. **等待机制**:深入了解如何在 Playwright 中使用等待功能,以提高测试的稳定性和可靠性。 4. **跨浏览器与跨平台支持**:Playwright 支持 Chrome、WebKit 和 Firefox 等现代渲染引擎,并可在 Windows、Linux 和 macOS 上运行,适合本地或 CI 环境。 5. **多语言支持**:可通过 TypeScript、JavaScript、Python、.NET 和 Java 使用 Playwright API。 6. **移动Web测试**:原生移动仿真,支持 Android 和 iOS 的浏览器测试。 7. **自动等待和自定义断言**:Playwright 会在执行动作之前等待元素变为可操作,并提供动态 Web 的特定断言机制。 8. **高级调试和追踪功能**:包括执行追踪、视频和截图捕获功能,减少不稳定测试的发生。 9. **多用户和多上下文支持**:便捷地创建多用户和不同环境的测试场景。 10. **安全事件处理**:通过真实的浏览器输入流来处理动态控件,确保事件的可信性。 完成本课程后,学员将能有效地将自己对 Playwright UI 自动化测试的理解提升至 2-3 年的实际经验,能够熟悉 Playwright 的基础功能并应用于实际项目中。
- Latest Version Playwright and Csharp- As the Playwright market is growing, the demand for Playwright Automation testers is increasing like anything across the Globe.- here, I am testing how to handle frame and windows- I am teaching UI with multiple assertions in UI - here you can learn how many wait in Playwright how you can use into your project- Once done with the course you will surely be able to justify 2-3 years of your current experience with Playwright UI Automation Testing.- familiarity with the function and basic use of the softwarePlaywright supports:Cross-browser. Playwright supports all modern rendering engines including Chromium, WebKit, and Firefox.Cross-platform. Test on Windows, Linux, and macOS, locally or on CI, headless or headed.Cross-language. Use the Playwright API in TypeScript, JavaScript, Python,.NET, Java.Test Mobile Web. Native mobile emulation of Google Chrome for Android and Mobile Safari. The same rendering engine works on your Desktop and in the Cloud.Auto-wait. Playwright waits for elements to be actionable prior to performing actions. It also has a rich set of introspection events. The combination of the two eliminates the need for artificial timeouts - the primary cause of flaky tests.Web-first assertions. Playwright assertions are created specifically for the dynamic web. Checks are automatically retried until the necessary conditions are met.Tracing. Configure test retry strategy, capture execution trace, videos, screenshots to eliminate flakes.Multiple everything. Test scenarios that span multiple tabs, multiple origins and multiple users. Create scenarios with different contexts for different users and run them against your server, all in one test.Trusted events. Hover elements, interact with dynamic controls, produce trusted events. Playwright uses real browser input pipeline indistinguishable from the real user.Test frames, pierce Shadow DOM. Playwright selectors pierce shadow DOM and allow entering frames seamlessly.Browser contexts. Playwright creates a browser context for each test. Browser context is equivalent to a brand new browser profile. This delivers full test isolation with zero overhead. Creating a new browser context only takes a handful of milliseconds.Log in once. Save the authentication state of the context and reuse it in all the tests. This bypasses repetitive log-in operations in each test, yet delivers full isolation of independent tests.