Selenium with Java - A Beginner's Guide: Web Browser Automation for Testing using Selenium with Java
暫譯: 使用 Java 的 Selenium - 初學者指南:利用 Selenium 和 Java 進行網頁瀏覽器自動化測試
Sharma, Pallavi
- 出版商: BPB Publications
- 出版日期: 2022-02-14
- 售價: $1,490
- 貴賓價: 9.5 折 $1,416
- 語言: 英文
- 頁數: 206
- 裝訂: Quality Paper - also called trade paper
- ISBN: 9391392687
- ISBN-13: 9789391392680
-
相關分類:
Java 程式語言、selenium
海外代購書籍(需單獨結帳)
商品描述
This book introduces setting up the environment for writing test scripts after covering Selenium and its capabilities. Numerous functionalities, including the web driver interface, the web element interface, and locators, are illustrated in-depth using the By class.
Additionally, the book presents tasks such as HTML element manipulation, mouse and keyboard operations, dropdown, table, window, alert, frame, action class, and synchronization. Along with Selenium IDE and Selenium Webdriver, the book also covers another critical feature, which is the implementation of Selenium Grid, that allows the test suite to execute in parallel across several settings. Several add-on automation scripts, such as those for taking screenshots, object and data information, are thoroughly displayed and explained in this book. The book discusses tools like TestNG and Maven that aid in the overall development of the test project ecosystem.
After reading the book, you should feel extremely competent in utilizing Selenium to automate a variety of web and browser testing scenarios and tasks.
TABLE OF CONTENTS
1. Introduction to Selenium
2. Preparing System and Application Under Test
3. WebDriver, WebElement, and By
4. Concept of Synchronization
5. Working with Web Elements-Form, Table, and Dropdown
6. Working with Web Element-Alert, Frame, IFrame, and Window
7. Extra Concepts - Action, Screenshot, WebDriverManager
8. What is TestNG
9. Concept of Page Object Model
10. Data Driving Test
11. Introducing Maven
12. Selenium Grid
商品描述(中文翻譯)
這本書介紹了在學習 Selenium 及其功能後,如何設置撰寫測試腳本的環境。書中深入說明了多種功能,包括網頁驅動程式介面(web driver interface)、網頁元素介面(web element interface)和定位器(locators),並使用 By 類別進行詳細說明。
此外,本書還介紹了 HTML 元素操作、滑鼠和鍵盤操作、下拉選單、表格、視窗、警示、框架、動作類別(action class)和同步等任務。除了 Selenium IDE 和 Selenium Webdriver,本書還涵蓋了另一個關鍵特性,即 Selenium Grid 的實作,該功能允許測試套件在多個環境中並行執行。本書詳細展示並解釋了幾個附加的自動化腳本,例如截圖、物件和數據資訊的腳本。本書還討論了像 TestNG 和 Maven 這樣的工具,這些工具有助於整體測試專案生態系統的開發。
閱讀完本書後,您應該能夠熟練運用 Selenium 自動化各種網頁和瀏覽器測試場景及任務。
目錄
1. Selenium 介紹
2. 準備系統和待測應用程式
3. WebDriver、WebElement 和 By
4. 同步概念
5. 操作網頁元素 - 表單、表格和下拉選單
6. 操作網頁元素 - 警示、框架、IFrame 和視窗
7. 額外概念 - 動作、截圖、WebDriverManager
8. 什麼是 TestNG
9. 頁面物件模型概念
10. 數據驅動測試
11. 介紹 Maven
12. Selenium Grid