Hands-On Selenium Webdriver with Java: A Deep Dive Into the Development of End-To-End Tests

Garcia, Boni

  • 出版商: O'Reilly
  • 出版日期: 2022-05-10
  • 定價: $2,100
  • 售價: 8.0$1,680
  • 語言: 英文
  • 頁數: 419
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1098110005
  • ISBN-13: 9781098110000
  • 相關分類: Java 程式語言selenium
  • 立即出貨

買這商品的人也買了...

商品描述

Get started with Selenium WebDriver, the open source library for automating tests to ensure your web application performs as expected. In this practical hands-on book, author Boni Garcia takes Java developers through Selenium's main features for automating web navigation, browser manipulation, web element interaction, and more, with ready-to-be-executed test examples.

You'll start by learning the core features of Selenium (composed of WebDriver, Grid, and IDE) and its ecosystem. Discover why Selenium WebDriver is the de facto library for developing end-to-end tests on your web application. You'll explore ways to use advanced Selenium WebDriver features, including using web browsers in Docker containers or the DevTools protocol. Selenium WebDriver examples in this book are available on GitHub.

With this book, you'll learn how to:

  • Set up a Java project containing end-to-end tests that use Selenium WebDriver
  • Conduct automated interaction with web applications
  • Use strategies for managing browser-specific capabilities and cross-browser testing
  • Interact with web forms, manage pop-up messages, and execute JavaScript
  • Control remote browsers and use advanced browser infrastructure for Selenium WebDriver tests in the cloud
  • Model web pages using object-oriented classes to ease test maintenance and reduce code duplication

商品描述(中文翻譯)

開始使用 Selenium WebDriver,這個開源庫可以自動化測試,以確保您的網絡應用程式的預期表現。在這本實用的實踐手冊中,作者 Boni Garcia 通過示範可執行的測試案例,帶領 Java 開發人員了解 Selenium 的主要功能,包括自動化網絡導航、瀏覽器操作、網頁元素互動等等。您將首先學習 Selenium 的核心功能(包括 WebDriver、Grid 和 IDE)及其生態系統。了解為什麼 Selenium WebDriver 是開發端對端測試的事實上標準庫。您將探索如何使用高級 Selenium WebDriver 功能,包括在 Docker 容器中使用網絡瀏覽器或 DevTools 協議。本書中的 Selenium WebDriver 示例可在 GitHub 上找到。通過本書,您將學習以下內容:設置包含使用 Selenium WebDriver 的端對端測試的 Java 項目;自動化與網絡應用程式的互動;使用策略管理特定於瀏覽器的功能和跨瀏覽器測試;與網絡表單互動、管理彈出消息並執行 JavaScript;控制遠程瀏覽器,並在雲端中使用高級瀏覽器基礎設施進行 Selenium WebDriver 測試;使用面向對象的類模型化網頁,以便測試維護和減少代碼重複。

作者簡介

Boni Garcia is a Visiting Professor at Universidad Carlos III de Madrid in Spain. He is passionate about software engineering with a big emphasis on automated testing. He is the author of more than 35 publications, including international conferences, journals, book chapters, and the book Mastering Software Testing with JUnit 5. He is the creator and maintainer of different open-source projects related to Selenium WebDriver, including WebDriverManager (a well-known helper library for Selenium WebDriver in Java) and Selenium-Jupiter (a JUnit 5 extension for Selenium WebDriver).He presented his PhD dissertation, entitled Contribution to the automation of software quality control of web applications, in 2011. This work had a strong focus on automated web navigation using Selenium IDE and Remote Control (RC) as foundational tools. He continued researching automated testing from 2013 to 2020, participating in the open-source projects Kurento, OpenVidu, and ElasTest. In this period, he adopted Selenium WebDriver as a fundamental component to assess WebRTC applications and Quality of Experience (QoE). Currently, he continues working actively around Selenium. His latest publications are focused on the Selenium ecosystem and the automated management of drivers (e.g., chromedriver, geckodriver) in Selenium WebDriver.

作者簡介(中文翻譯)

Boni Garcia是西班牙馬德里卡洛斯三世大學的訪問教授。他對軟體工程非常熱衷,尤其注重自動化測試。他是超過35篇出版物的作者,包括國際會議、期刊、專書章節,以及《使用JUnit 5精通軟體測試》一書。他是與Selenium WebDriver相關的不同開源項目的創建者和維護者,包括WebDriverManager(一個在Java中為Selenium WebDriver提供幫助的著名輔助庫)和Selenium-Jupiter(一個Selenium WebDriver的JUnit 5擴展)。他在2011年發表了名為《對Web應用程式軟體品質控制自動化的貢獻》的博士論文。這項工作主要關注使用Selenium IDE和Remote Control(RC)作為基礎工具進行自動化網頁導航。他從2013年到2020年繼續研究自動化測試,參與了Kurento、OpenVidu和ElasTest等開源項目。在這段期間,他將Selenium WebDriver作為評估WebRTC應用程式和使用者體驗(QoE)的基本組件。目前,他仍然積極地在Selenium周圍工作。他最新的出版物專注於Selenium生態系統和Selenium WebDriver中驅動程式(例如chromedriver、geckodriver)的自動化管理。