Selenium Testing Tools Cookbook

Gundecha Unmesh

  • 出版商: Packt Publishing
  • 出版日期: 2012-11-27
  • 售價: $1,980
  • 貴賓價: 9.5$1,881
  • 語言: 英文
  • 頁數: 326
  • 裝訂: Paperback
  • ISBN: 1849515743
  • ISBN-13: 9781849515740
  • 相關分類: selenium
  • 海外代購書籍(需單獨結帳)

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

相關主題

商品描述

Unlock the full potential of Selenium WebDriver to test your web applications in a wide range of situations. The countless recipes and code examples provided ease the learning curve and provide insights into virtually every eventuality.

Overview

  • Learn to leverage the power of Selenium WebDriver with simple examples that illustrate real world problems and their workarounds
  • Each sample demonstrates key concepts allowing you to advance your knowledge of Selenium WebDriver in a practical and incremental way
  • Explains testing of mobile web applications with Selenium Drivers for platforms such as iOS and Android

In Detail

Web technologies are becoming increasingly complex and there is a need to test your web applications against a vast number of browsers and platforms, so you need to build highly reliable and maintainable test automation. This book will help you test your web applications effectively and efficiently with Selenium WebDriver.

"Selenium Testing Tools Cookbook" is an incremental guide that will help you learn and use advanced features of Selenium WebDriver API in various situations for building reliable test automation. You will learn how to effectively use features of Selenium using simple and detailed examples. This book will also teach you best practices, design patterns, and how to extend Selenium.

"Selenium Testing Tools Cookbook" shows developers and testers who already use Selenium, how to go to the next step and build a highly maintainable and reliable test framework using advanced features of the tool.

The book starts with tips on advanced location strategy and effective use of Selenium WebDriver API. Then it demonstrates the use of design patterns such as Data Driven Tests and PageFactory for building maintainable test automation.

It also explains extending Selenium WebDriver API along with implementing custom tasks and setting up your own distributed environment to run tests in parallel.

It concludes with tips on integrating Selenium WebDriver with other popular tools, testing mobile web applications, and capturing videos of test runs. This books provides examples in Java, C#, Ruby, and Python.

"Selenium Testing Tools Cookbook" will help you in building a highly robust and maintainable test automation framework from start to finish.

What you will learn from this book

  • Understand Locators and use various locator methods to build reliable tests
  • Build reliable and maintainable tests with Selenium WebDriver API
  • Use 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
  • Learn to integrate and use ATDD/BDD tools such as JBehave, SpecFlow, and FitNesses with Selenium WebDriver
  • Set up iPhone/iPad & Android simulators and devices for testing your mobile web application
  • Set up Selenium Grid for faster and parallel run of tests, increasing test coverage and reducing test execution time
  • Capture screenshots and videos of test runs

Approach

This is a cookbook packed with code examples and step-by-step instructions to ease your learning curve.

Who this book is written 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 for testing web-based applications. This book also provides examples for C#, Python, and Ruby users.

商品描述(中文翻譯)

解鎖 Selenium WebDriver 的全部潛力,以在各種情況下測試您的網絡應用程序。提供無數的食譜和代碼示例,以幫助您輕鬆學習並深入了解幾乎所有可能的情況。

概述:
- 通過簡單的示例學習如何利用 Selenium WebDriver 的強大功能,以解決現實世界中的問題及其解決方法。
- 每個示例都演示了關鍵概念,讓您能夠以實用和漸進的方式提升對 Selenium WebDriver 的知識。
- 解釋了如何使用 Selenium Drivers 測試 iOS 和 Android 等平台上的移動網絡應用程序。

詳細內容:
隨著網絡技術變得越來越複雜,您需要對大量的瀏覽器和平台進行測試,因此需要構建高度可靠和易於維護的測試自動化。本書將幫助您有效且高效地使用 Selenium WebDriver 測試您的網絡應用程序。

《Selenium Testing Tools Cookbook》是一本漸進式指南,將幫助您在各種情況下學習和使用 Selenium WebDriver API 的高級功能,以構建可靠的測試自動化。您將通過簡單而詳細的示例學習如何有效地使用 Selenium 的功能。本書還將教您最佳實踐、設計模式以及如何擴展 Selenium。

《Selenium Testing Tools Cookbook》向已經使用 Selenium 的開發人員和測試人員展示了如何邁出下一步,使用該工具的高級功能構建一個高度可維護和可靠的測試框架。

本書從高級定位策略和有效使用 Selenium WebDriver API 的技巧開始。然後,它演示了使用數據驅動測試和 PageFactory 構建可維護測試自動化的設計模式。

本書還解釋了如何擴展 Selenium WebDriver API,以及如何實現自定義任務並設置自己的分佈式環境以並行運行測試。

最後,本書提供了有關將 Selenium WebDriver 與其他流行工具集成、測試移動網絡應用程序以及捕獲測試運行的視頻的技巧。本書提供了 Java、C#、Ruby 和 Python 的示例。

《Selenium Testing Tools Cookbook》將幫助您從頭到尾構建一個高度強大和易於維護的測試自動化框架。

本書的學習重點:
- 瞭解定位器並使用各種定位方法構建可靠的測試。
- 使用 Selenium WebDriver API 構建可靠且易於維護的測試。
- 使用 PageFactory 模式構建強大且易於維護的測試框架。
- 構建數據驅動測試並擴展 Selenium API 以實現自定義步驟和檢查。
- 學習將 ATDD/BDD 工具(如 JBehave、SpecFlow 和 FitNesses)與 Selenium WebDriver 集成和使用。
- 設置 iPhone/iPad 和 Android 模擬器和設備,以測試您的移動網絡應用程序。
- 設置 Selenium Grid 以實現更快和並行運行測試,提高測試覆蓋率並減少測試執行時間。
- 捕獲測試運行的屏幕截圖和視頻。

這是一本充滿代碼示例和逐步指導的食譜,以幫助您輕鬆學習。

本書適合軟件質量保證/測試專業人士、軟件項目經理或具有使用 Selenium 和 Java 測試基於網絡的應用程序的經驗的軟件開發人員。本書還提供了 C#、Python 和 Ruby 用戶的示例。