Selenium Testing Tools Cookbook, 2/e(Paperback)
暫譯: Selenium 測試工具食譜,第 2 版(平裝本)
Unmesh Gundecha
- 出版商: Packt Publishing
- 出版日期: 2015-10-30
- 售價: $2,010
- 貴賓價: 9.5 折 $1,910
- 語言: 英文
- 頁數: 374
- 裝訂: Paperback
- ISBN: 1784392510
- ISBN-13: 9781784392512
-
相關分類:
selenium
海外代購書籍(需單獨結帳)
商品描述
Over 90 recipes to help you build and run automated tests for your web applications with Selenium WebDriver
About This Book
- Learn to leverage the power of Selenium WebDriver with simple examples that illustrate real-world problems and their workarounds
- Explains the testing of mobile applications with Appium for mobile platforms such as iOS and Android
- A pragmatic manual with engaging recipes and attractive screenshots to test your web applications efficiently
Who This Book Is For
This book is intended for software quality assurance/testing professionals, software project managers, or software developers with prior experience in using Selenium and Java to test web-based applications. This books also provides examples for C#, Python and Ruby users.
What You Will Learn
- Understand how the locators work and use various locator methods to build reliable tests
- Build reliable and maintainable tests with the Selenium WebDriver API
- Use the PageFactory pattern to build a robust and easy to maintain test framework
- Build data-driven tests and extend Selenium API to implement custom steps and checks
- Integrate and use ATDD/BDD tools such as Cucumber, SpecFlow, Capybara, and Behave with the Selenium WebDriver API
- Set up iPhone/iPad and Android simulators and devices to test your mobile web application with Appium
- Set up Selenium Grid for faster and parallel running of tests, increasing test coverage and reducing test execution time for cross-browser testing
- Build extended Selenium WebDriver tests for additional coverage
In Detail
This book is an incremental guide that will help you learn and use the advanced features of the Selenium toolset including the WebDriver API in various situations to build a reliable test automation. You start off by setting up the test development environment and gain tips on the advanced locater strategy and the effective use of the Selenium WebDriver API.
After that, the use of design patterns such as data - driven tests and PageFactory are demonstrated. You will then be familiarised with extending Selenium WebDriver API by implementing custom tasks and setting up your own distributed environment to run tests in parallel for cross-browser testing.
Finally, we give you some tips on integrating Selenium WebDriver with other popular tools and testing mobile applications. By the end of this book, you will have learned enough to solve complex testing issues on your own.
Style and approach
This recipe-based guide covers real-life scenarios of testing your web apps with Selenium. Each recipe begins with a short introduction and key concepts along with illustrated examples of use cases, and ends with detailed but informative descriptions of the inner workings of the example.
商品描述(中文翻譯)
超過90個食譜,幫助您使用Selenium WebDriver構建和運行自動化測試以測試您的網頁應用程式
本書簡介
- 學習如何利用Selenium WebDriver的強大功能,通過簡單的範例來說明現實世界中的問題及其解決方法
- 解釋如何使用Appium測試iOS和Android等移動平台的移動應用程式
- 一本務實的手冊,提供引人入勝的食譜和吸引人的截圖,以高效測試您的網頁應用程式
本書適合誰閱讀
本書適合軟體品質保證/測試專業人員、軟體專案經理或具有使用Selenium和Java測試基於網頁應用程式經驗的軟體開發人員。本書也提供C#、Python和Ruby使用者的範例。
您將學到什麼
- 了解定位器的工作原理,並使用各種定位器方法來構建可靠的測試
- 使用Selenium WebDriver API構建可靠且可維護的測試
- 使用PageFactory模式構建一個穩健且易於維護的測試框架
- 構建數據驅動測試並擴展Selenium API以實現自定義步驟和檢查
- 整合並使用ATDD/BDD工具,如Cucumber、SpecFlow、Capybara和Behave,與Selenium WebDriver API一起使用
- 設置iPhone/iPad和Android模擬器及設備,使用Appium測試您的移動網頁應用程式
- 設置Selenium Grid以更快和並行地運行測試,增加測試覆蓋率並減少跨瀏覽器測試的執行時間
- 構建擴展的Selenium WebDriver測試以獲得額外的覆蓋率
詳細內容
本書是一個漸進式指南,將幫助您學習和使用Selenium工具集的高級功能,包括在各種情況下使用WebDriver API來構建可靠的測試自動化。您將從設置測試開發環境開始,並獲得有關高級定位器策略和有效使用Selenium WebDriver API的提示。
之後,將演示使用設計模式,如數據驅動測試和PageFactory。接著,您將熟悉通過實現自定義任務來擴展Selenium WebDriver API,並設置自己的分佈式環境以並行運行測試以進行跨瀏覽器測試。
最後,我們將提供一些有關將Selenium WebDriver與其他流行工具整合及測試移動應用程式的提示。在本書結束時,您將學會足夠的知識來獨立解決複雜的測試問題。
風格與方法
這本基於食譜的指南涵蓋了使用Selenium測試網頁應用程式的現實場景。每個食譜都以簡短的介紹和關鍵概念開始,並附有使用案例的插圖範例,最後以詳細但資訊豐富的描述結束範例的內部運作。