|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/basic-to-advance-playwright-java-cucumber-testng/
课程评论:没有评论
课程名称:从基础到高级的Playwright Java Cucumber TestNG 课程概述: 本课程旨在教授最新版本的Playwright与Java,随着Playwright市场的不断发展,自动化测试人员的需求快速增长。课程内容包括: - 如何处理框架和窗口的测试 - 多个UI断言的实现 - Playwright中的等待机制及其应用 - 页面对象模型(POM)的学习 - 截图与视频录制方法 - 脚本失败时如何自动截取屏幕 - 完成课程后,您将能够具备2-3年Playwright UI自动化测试的经验 - 熟悉软件的基本功能与使用方法 - 处理环境的不同方式,包括场景创建、场景大纲创建及日志打印 Playwright支持: - 跨浏览器:支持所有现代渲染引擎,包括Chromium、WebKit和Firefox。 - 跨平台:可以在Windows、Linux和macOS上本地或通过CI进行测试,支持无头或有头模式。 - 跨语言:支持使用TypeScript、JavaScript、Python、.NET及Java调用Playwright API。 - 移动网页测试:支持Google Chrome Android和Mobile Safari的原生移动模拟。 - 自动等待:在执行操作之前,Playwright会等待元素可操作,消除人为超时造成的不稳定测试。 - Web首要断言:Playwright的断言专为动态网页设计,条件未达到之前会自动重试。 - 跟踪功能:配置测试重试策略,捕捉执行轨迹、视频和截图,消除测试中的不确定因素。 - 多重场景测试:支持跨多个标签、多个来源和多个用户的测试场景。 - 可信事件:可以与动态控件进行交互,生成可信的用户输入事件。 - 测试框架和穿透Shadow DOM:Playwright选择器支持穿透Shadow DOM,便于无缝进入框架。 - 浏览器上下文:为每个测试创建独立的浏览器上下文,实现全测试隔离。 - 一次登录:保存上下文的认证状态,避免在每个测试中重复登录,同时保持测试验证的独立性。 本课程适合想要提升Playwright自动化测试技能的学习者,帮助您快速掌握相关技能并应用到实际项目中。
- Latest Version of Playwright and Java- 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 frames and windows- I am teaching UI with multiple assertions in UI - Here you can learn how many wait in Playwright and how you can use in your project- Here you can learn POM(page object model)- Here you can learn how to take a screenshot and a video - Here you can learn how to take a screenshot when the script fails- 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 software- added different ways to handle with Environment 1. Scenario creation2. Scenario Outlines creation3. logs printPlaywright 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. The 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, and 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, and produce trusted events. A Playwright uses a real browser input pipeline indistinguishable from the real user.Test frames, pierce Shadow DOM. Playwright selectors pierce the shadow DOM and allow entering frames seamlessly.Browser contexts. The 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.