Selenium Framework Design in Data-Driven Testing
暫譯: 數據驅動測試中的 Selenium 框架設計
Carl Cocchiaro
- 出版商: Packt Publishing
- 出版日期: 2018-01-23
- 售價: $2,010
- 貴賓價: 9.5 折 $1,910
- 語言: 英文
- 頁數: 354
- 裝訂: Paperback
- ISBN: 1788473574
- ISBN-13: 9781788473576
-
相關分類:
selenium
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$2,920$2,774
商品描述
Key Features
- A step by step guide in designing your own automation testing framework with Selenium WebDriver Design
- Perform Data driven automation testing of browser and mobile application in Selenium with TestNG and Java.
- Learn to design and use third party tools for results processing and reporting in the Selenium Framework.
Book Description
Selenium WebDriver is an open source web UI automation tool implemented through a browser-specific browser driver, which sends commands to a browser and retrieves results.This book will provide a step by step guide in designing your own automation testing framework for data driven testing in Selenium WebDriver with TestNG and Java.
The book will start off by setting up the framework for Selenium WebDriver and Appium MobileDriver for the web. We'll further understand mobile testing on different platforms leveraging the selenium driver integration for dual driver testing. We will also set up the Page Object Model (POM) for testing framework using Selenium. This will help us to create non-brittle test code and reduce or eliminate duplicate test code thereby improving the readability and creating interactive documentation. We will also learn to set up TestNG for data driven testing as Selenium Webdriver is more an automated testing framework than a ready-to-use tool. Towards the end, we'll get our hands dirty with Selenium grid architecture which allows us to test on different browsers, versions, and platforms.
Finally, we'll explore a number of third party tools and plugin which can be added to our Selenium Framework.
By the end of the book, you will be able to design your own automation testing framework and perform data driven testing with Selenium.
What you will learn
- Design the Selenium Driver Class for local, remote, and third party grid support
- Represent Page Object Classes using the Selenium Page Object Model
- Plan Data-Driven Test Classes using the TestNG framework
- Encapsulate Data using the JSON Protocol
- Build a Selenium Grid for RemoteWebDriver Testing
- Map Utility Classes for use in Synchronization, File I/O, Reporting and Test Listener Classes
- Sample framework code for practical use
商品描述(中文翻譯)
**主要特點**
- 提供逐步指南,設計您自己的自動化測試框架,使用 Selenium WebDriver 設計
- 使用 TestNG 和 Java 在 Selenium 中執行瀏覽器和移動應用程序的數據驅動自動化測試
- 學習設計和使用第三方工具進行結果處理和報告,應用於 Selenium 框架
**書籍描述**
Selenium WebDriver 是一個開源的網頁 UI 自動化工具,通過特定於瀏覽器的瀏覽器驅動程序實現,該驅動程序向瀏覽器發送命令並檢索結果。本書將提供逐步指南,幫助您設計自己的自動化測試框架,以便在 Selenium WebDriver 中進行數據驅動測試,使用 TestNG 和 Java。
本書將從設置 Selenium WebDriver 和 Appium MobileDriver 的框架開始。我們將進一步了解在不同平台上進行移動測試,利用 Selenium 驅動程序集成進行雙驅動測試。我們還將使用 Selenium 設置頁面對象模型(POM)來構建測試框架。這將幫助我們創建不易斷裂的測試代碼,減少或消除重複的測試代碼,從而提高可讀性並創建互動文檔。我們還將學習設置 TestNG 以進行數據驅動測試,因為 Selenium WebDriver 更像是一個自動化測試框架,而不是一個現成的工具。在最後,我們將深入了解 Selenium 網格架構,這使我們能夠在不同的瀏覽器、版本和平台上進行測試。
最後,我們將探索多個可以添加到我們的 Selenium 框架中的第三方工具和插件。
到書籍結束時,您將能夠設計自己的自動化測試框架,並使用 Selenium 執行數據驅動測試。
**您將學到的內容**
- 設計 Selenium 驅動程序類,以支持本地、遠程和第三方網格
- 使用 Selenium 頁面對象模型表示頁面對象類
- 使用 TestNG 框架規劃數據驅動測試類
- 使用 JSON 協議封裝數據
- 建立 Selenium 網格以進行 RemoteWebDriver 測試
- 映射實用程序類以用於同步、文件 I/O、報告和測試監聽器類
- 實用的範例框架代碼