Web Automation Testing Using Playwright: End-to-end, API, accessibility, and visual testing using Playwright (English Edition)
暫譯: 使用 Playwright 進行網頁自動化測試:端到端、API、可及性及視覺測試 (英文版)

Pathak, Kailash

  • 出版商: Bpb Publications
  • 出版日期: 2024-12-13
  • 售價: $1,870
  • 貴賓價: 9.5$1,777
  • 語言: 英文
  • 頁數: 364
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 9365898005
  • ISBN-13: 9789365898002
  • 海外代購書籍(需單獨結帳)

商品描述

DESCRIPTION

The purpose of the book Web Automation Testing Using Playwright is to teach you how to use Playwright to automate your web testing. Playwright, a powerful automation tool developed by Microsoft, is a modern web automation framework that is fast, reliable, and easy to use.

This book begins by introducing automation testing, its benefits, and Playwright, covering setup, scripting, and Playwright's architecture. It guides you through creating frameworks, selector strategies, and handling complex web elements like shadow DOM and iframes. Explore Playwright features such as Codegen, Inspector, UI mode, debugging with Trace Viewer, and generating detailed reports. Learn advanced techniques like building frameworks using Page Object Model (POM), integrating Cucumber/BDD, API testing, HTTP request interception, and accessibility and visual testing. Additionally, the book explores test execution in CI/CD tools, parallel testing, AI-driven test automation, leveraging generative AI like ChatGPT, and future trends in test automation.

By the end of this book, you will be a web automation expert, writing efficient tests that validate web app functionality. Automate complex scenarios, handle edge cases, and leverage AI for intelligent testing.

WHAT YOU WILL LEARN

● Writing testing scripts for end-to-end, functional, API, accessibility, and visual tests with Playwright.

● Mastering UI elements like alerts, tabs, drag-and-drop, iframes, and shadow DOM handling.

● Debugging effectively using Playwright features like Codegen, Inspector, UI mode, and Trace Viewer.

● Implementing Cucumber/BDD, Page Object Model (POM), and CI/CD pipeline integration with Playwright.

● Leveraging AI tools for test automation, including script creation, debugging, and understanding generative AI like ChatGPT.

WHO THIS BOOK IS FOR

The target audience for this book is test automation engineers, web developers, product owners, and anyone who wants to learn about tool Playwright and test their application from scratch to the end of the applications.

商品描述(中文翻譯)

書籍描述
本書《使用 Playwright 進行網頁自動化測試》的目的是教您如何使用 Playwright 來自動化您的網頁測試。Playwright 是由微軟開發的一個強大的自動化工具,是一個現代化的網頁自動化框架,快速、可靠且易於使用。

本書首先介紹自動化測試及其優點,並介紹 Playwright,涵蓋設置、腳本編寫和 Playwright 的架構。它將指導您創建框架、選擇器策略,以及處理複雜的網頁元素,如 shadow DOM 和 iframe。探索 Playwright 的功能,如 Codegen、Inspector、UI 模式、使用 Trace Viewer 進行調試以及生成詳細報告。學習高級技術,如使用 Page Object Model (POM) 構建框架、整合 Cucumber/BDD、API 測試、HTTP 請求攔截,以及可及性和視覺測試。此外,本書還探討了在 CI/CD 工具中的測試執行、並行測試、AI 驅動的測試自動化、利用生成式 AI(如 ChatGPT)以及測試自動化的未來趨勢。

在本書結束時,您將成為網頁自動化專家,編寫高效的測試以驗證網頁應用程式的功能。自動化複雜場景,處理邊緣案例,並利用 AI 進行智能測試。

您將學到的內容
● 使用 Playwright 編寫端到端、功能性、API、可及性和視覺測試的測試腳本。
● 精通 UI 元素,如警報、標籤、拖放、iframe 和 shadow DOM 的處理。
● 使用 Playwright 的功能(如 Codegen、Inspector、UI 模式和 Trace Viewer)有效地進行調試。
● 實現 Cucumber/BDD、Page Object Model (POM) 和 Playwright 的 CI/CD 管道整合。
● 利用 AI 工具進行測試自動化,包括腳本創建、調試和理解生成式 AI(如 ChatGPT)。

本書適合誰閱讀
本書的目標讀者是測試自動化工程師、網頁開發人員、產品負責人,以及任何希望從頭到尾學習 Playwright 工具並測試其應用程式的人。

最後瀏覽商品 (20)