Playwright Testing using Typescript and Javascript in 2024

所在平台: Udemy

课程主页: https://www.udemy.com/course/playwright-testing-using-typescript-and-javascript-in-2024/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:2024年使用TypeScript和JavaScript进行Playwright测试 课程概述: 本课程将介绍最新版本的Playwright及其在JavaScript和TypeScript中的应用。随着Playwright市场的迅速发展,全球对Playwright自动化测试人员的需求急剧增加。课程内容包括如何处理框架和窗口,UI中的多重断言,以及在Playwright中如何使用等待功能。学员将学习页面对象模型(POM)、如何截屏和录制视频,并在脚本失败时截屏等技巧。 完成课程后,学员将能够将自己在Playwright UI自动化测试方面的经验提升至2-3年。课程涵盖软件的基本功能和使用方法,以及如何处理下拉框的不同方式,包括单选下拉、多选下拉和自动建议下拉。 Playwright的支持特性包括: - 跨浏览器:支持所有现代渲染引擎,包括Chromium、WebKit和Firefox。 - 跨平台:可在Windows、Linux和macOS上进行本地测试或在CI中运行,支持无头和有头模式。 - 跨语言:支持使用TypeScript、JavaScript、Python、.NET和Java调用Playwright API。 - 移动网页测试:支持Android上的Google Chrome和移动Safari的原生移动模拟。 - 自动等待:Playwright会在执行操作前等待可操作元素,避免使用人为超时,消除不稳定测试。 - Web优先断言:Playwright的断言专为动态网页设计,自动重试,直到达到必要条件。 - 跟踪功能:配置测试重试策略,捕获执行跟踪、视频和截图,以消除不稳定因素。 - 多重测试场景:支持多个标签、多来源和多个用户的测试场景。 - 可信事件:模拟真实用户的浏览器输入,处理动态控制。 - 测试框架、穿透Shadow DOM:支持穿透Shadow DOM的选择器,流畅进入框架。 - 浏览器上下文:为每个测试创建独立浏览器上下文,实现完全的测试隔离,并且创建新上下文只需几毫秒。 - 一次登录:保存上下文的身份验证状态,在所有测试中重用,无需在每个测试中重复登录,同时保持独立测试的完全隔离。 该课程适合对Playwright自动化测试有兴趣的学习者,无论是新手还是希望深化技能的专业人士。

课程评论(0条)

课程详情

- Latest Version Playwright and Javascript Typescript- As the Playwright market is growing so there's a demand of Playwright Automation testers increasing like anything across the Globe.- here am testing how to handle frame and windows- am teaching UI with multiple assetions 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 dropdown box like 1. single select dropdown values2. multiple select dropdwon3. auto suggestion dropdownPlaywright 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人关注该课程

主题相关的课程