Mastering Selenium WebDriver
暫譯: 精通 Selenium WebDriver
Mark Collin
- 出版商: Packt Publishing
- 出版日期: 2015-08-31
- 定價: $1,578
- 售價: 5.0 折 $789
- 語言: 英文
- 頁數: 280
- 裝訂: Paperback
- ISBN: 1784394351
- ISBN-13: 9781784394356
-
相關分類:
selenium
立即出貨(限量) (庫存=1)
買這商品的人也買了...
-
$580$458 -
$420$357 -
$390$332 -
$580$458 -
$454Jenkins 權威指南
-
$390$304 -
$403程序員的三門課:技術精進、架構修煉、管理探秘
-
$403深入核心的敏捷開發:ThoughtWorks 五大關鍵實踐
-
$774$735 -
$594$564 -
$780$616 -
$828$787 -
$658深入理解高並發編程:核心原理與案例實戰
-
$630$599 -
$594$564 -
$580$406 -
$680$537 -
$588$559 -
$620$484 -
$654$621 -
$479$455 -
$719$683 -
$713雲原生 Spring 實戰 Spring Boot 與 Kubernetes 實踐 (Cloud Native Spring in Action: With Spring Boot and Kubernetes)
-
$600$570 -
$850$672
相關主題
商品描述
Increase the performance, capability, and reliability of your automated checks by mastering Selenium WebDriver
About This Book
- Create an extensible test framework in Java supporting parallel execution with TestNG
- Understand the power, simplicity, and limitations of the core Selenium framework
- Write clear, simple, readable, and reliable tests that perform complex test automation tasks
Who This Book Is For
If you are a software tester or a developer who has learnt the basics of Selenium using the WebDriver API and is now ready to take the next step, then this is the book for you.
What You Will Learn
- Provide fast, useful feedback with sensible errors and screenshots
- Create extensible, well-composed page objects
- Gain an in-depth understanding of implicit and explicit waits, and how you should use them
- Leverage the full power of the Actions API
- Explore the full potential of the JavascriptExecutor
- Extend Selenium's capabilities by integrating other applications
- Learn how to plug third-party products into Selenium, and where it is appropriate to do so
In Detail
Selenium WebDriver, also known as Selenium 2, is a UI automation tool used by software developers and QA engineers to test their web applications on different web browsers. The Selenium WebDriver API is fully object oriented compared with the deprecated Selenium RC. The WebDriver API provides multi-language support and run tests on all the most popular browsers.
In this wide and complex World Wide Web era, this book will teach you how to tame it by gaining an in-depth understanding of the Selenium API.
This book starts with how to solve the difficult problems that you will undoubtedly come across as you start using Selenium in an enterprise environment, followed by producing the right feedback when failing, and what the common exceptions are, explain them properly (including the root cause) and tell you how to fix them. You will also see the differences between the three available implicit waits and explicit waits, and learn to working with effective page objects.
Moving on, the book shows you how to utilize the Advanced User Interactions API, how you can run any JavaScript you need through Selenium, and how to quickly spin up a Selenium Grid using Docker containers.
At the end, the book will discuss the upcoming Selenium W3C specification and how it is going to affect the future of Selenium.
Style and approach
This book is a pragmatic guide that takes you through the process of creating a test framework. It then shows you how you can extend this framework to overcome common obstacles that you will come across whilst using Selenium.
商品描述(中文翻譯)
**提升自動化檢查的性能、能力和可靠性,掌握 Selenium WebDriver**
## 本書介紹
- 在 Java 中創建一個可擴展的測試框架,支持與 TestNG 的並行執行
- 理解核心 Selenium 框架的力量、簡單性和局限性
- 編寫清晰、簡單、可讀且可靠的測試,以執行複雜的測試自動化任務
## 本書適合誰
如果您是一名軟體測試人員或開發人員,已經學會了使用 WebDriver API 的 Selenium 基礎知識,並準備邁出下一步,那麼這本書就是為您而寫的。
## 您將學到什麼
- 提供快速、有用的反饋,並附上合理的錯誤信息和截圖
- 創建可擴展、組織良好的頁面對象
- 深入理解隱式等待和顯式等待,以及如何使用它們
- 利用 Actions API 的全部功能
- 探索 JavascriptExecutor 的全部潛力
- 通過整合其他應用程序擴展 Selenium 的能力
- 學習如何將第三方產品接入 Selenium,以及在何種情況下適合這樣做
## 詳細內容
Selenium WebDriver,也稱為 Selenium 2,是一種 UI 自動化工具,供軟體開發人員和 QA 工程師用來測試其在不同網頁瀏覽器上的網頁應用程序。與已棄用的 Selenium RC 相比,Selenium WebDriver API 完全是面向對象的。WebDriver API 提供多語言支持,並能在所有最流行的瀏覽器上運行測試。
在這個廣泛而複雜的全球資訊網時代,本書將教您如何駕馭它,通過深入理解 Selenium API。
本書首先介紹如何解決您在企業環境中使用 Selenium 時無疑會遇到的困難問題,接著是當測試失敗時如何產生正確的反饋,以及常見的異常情況,正確解釋它們(包括根本原因)並告訴您如何修復。您還將看到三種可用的隱式等待和顯式等待之間的差異,並學會如何有效地使用頁面對象。
接下來,本書將展示如何利用高級用戶互動 API,如何通過 Selenium 執行所需的任何 JavaScript,以及如何使用 Docker 容器快速啟動 Selenium Grid。
最後,本書將討論即將到來的 Selenium W3C 規範,以及它將如何影響 Selenium 的未來。
## 風格與方法
本書是一個務實的指南,帶您了解創建測試框架的過程。然後,它將向您展示如何擴展此框架,以克服在使用 Selenium 時會遇到的常見障礙。