Cucumber with Playwright Typescript

所在平台: Udemy

课程主页: https://www.udemy.com/course/cucumber-with-playwright-typescript/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:Cucumber与Playwright TypeScript 课程概述: 本课程涵盖了最新版本的Playwright和TypeScript。在Playwright市场快速发展的背景下,全球对Playwright自动化测试人员的需求激增。课程将教授如何处理框架和窗口,进行多重UI断言,掌握Playwright中的等待机制,并学习如何将其应用于项目中。另外,将介绍页面对象模型(POM)的概念、如何截屏和录制视频、以及在脚本失败时截图的方法。完成课程后,学员将能够证明自己具备2-3年使用Playwright进行UI自动化测试的相关经验。 课程内容包括: - Playwright的基本功能及使用 - 环境处理的不同方式 - 场景创建与场景大纲创建 - 日志打印功能 Playwright提供的支持包括: - 跨浏览器:支持所有现代渲染引擎,包括Chromium、WebKit和Firefox。 - 跨平台:可在Windows、Linux和macOS上进行测试,无论是本地、持续集成还是无头模式。 - 跨语言:可使用TypeScript、JavaScript、Python、.NET和Java的Playwright API。 - 移动Web测试:对Android和移动Safari的原生移动仿真。 Playwright的特点: - 自动等待:Playwright会等待元素可操作后再执行操作,消除了人为超时的需求。 - 网络优先断言:专为动态网页设计的断言,检查将在满足条件前进行自动重试。 - 跟踪功能:可配置测试重试策略,捕捉执行轨迹、视频和截图,以消除不稳定的测试。 - 多元测试:支持跨多个标签、多个源和多个用户的测试场景。 - 真实事件:Playwright可产生与真实用户无差别的影响,处理动态控件。 - 测试框架、穿透Shadow DOM:Playwright选择器支持穿透shadow DOM。 - 浏览器上下文:每个测试都有独立的浏览器上下文,确保全测试隔离。 - 一次登录:保存上下文的认证状态,重用在所有测试中,避免重复登录操作。 通过学习本课程,学员将全面掌握Playwright的使用技巧,为成为合格的自动化测试工程师打下坚实的基础。

课程评论(0条)

课程详情

- Latest Version Playwright and Typescript- 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- here you can learn POM(page object model)- here you can learn how to take screenshot and video - here you can learn how to take screenshot when script failes- 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 with different ways to handle with Environment 1. Scenarios 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. 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.

课程标签

0人关注该课程

主题相关的课程