Selenium Design Patterns and Best Practices (Paperback)
暫譯: Selenium 設計模式與最佳實踐 (平裝本)

Dima Kovalenko

  • 出版商: Packt Publishing
  • 出版日期: 2014-09-25
  • 定價: $1,210
  • 售價: 8.0$968
  • 語言: 英文
  • 頁數: 225
  • 裝訂: Paperback
  • ISBN: 1783982705
  • ISBN-13: 9781783982707
  • 相關分類: seleniumDesign Pattern
  • 立即出貨 (庫存=1)

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

商品描述

Build a powerful, stable, and automated test suite using Selenium WebDriver

About This Book

  • Keep up with the changing pace of your web application by creating an agile test suite
  • Save time and money by making your Selenium tests 99% reliable
  • Improve the stability of your test suite and your programing skills by following a step-by-step continuous improvement tutorial

Who This Book Is For

Whether you are an experienced WebDriver developer or someone who was newly assigned a task to create automated tests, this book is for you. Since the ideas and concepts are described in simple terms, no previous experience in computer coding or programming is required.

What You Will Learn

  • Control Selenium WebDriver within any major programing language such as Java, Ruby, Python, and .NET
  • Learn how to implement a simple test script or a complex Page Objects framework
  • Set up each test to automatically deal with AJAX and jQuery
  • Remove test instabilities by blocking third-party services
  • Deal with data uncertainties by using fixtures, JSON APIs, and API stubbing
  • Improve your test suite continuously by refactoring code and using the DRY principle
  • Stabilize your tests by using patterns such as the Action Wrapper and Black Hole Proxy patterns

In Detail

Selenium WebDriver is a global leader in automated web testing. It empowers users to perform complex testing scenarios with its simple and powerful interface.

This guide will provide you with all the skills you need to successfully create a functional Selenium test suite. Starting from the very beginning of the Selenium IDE, this book will show you how to transition into a real programing language such as Ruby or Java. You will quickly learn how to improve your code quality with refactoring and the skills needed to plan for the future development of your website to future-proof your test suite. With ample test examples running against a life-like e-commerce store and detailed step-by-step code review and explanations, you will be ready to test any challenge web developers might throw your way.

This book is intended for anyone who wants to create a test suite that is easy to maintain by expanding your knowledge until you feel truly confident and comfortable with Selenium.

商品描述(中文翻譯)

**建立一個強大、穩定且自動化的測試套件,使用 Selenium WebDriver**

## 本書介紹

- 透過創建敏捷測試套件,跟上您的網頁應用程式變化的步伐
- 使您的 Selenium 測試達到 99% 的可靠性,節省時間和金錢
- 通過遵循逐步的持續改進教程,提高測試套件的穩定性和您的程式設計技能

## 本書適合誰

無論您是經驗豐富的 WebDriver 開發者,還是剛被指派創建自動化測試的新人,本書都適合您。由於本書中的概念和想法以簡單的術語描述,因此不需要任何計算機編碼或程式設計的先前經驗。

## 您將學到什麼

- 在任何主要程式語言中控制 Selenium WebDriver,例如 Java、Ruby、Python 和 .NET
- 學習如何實現簡單的測試腳本或複雜的 Page Objects 框架
- 設置每個測試以自動處理 AJAX 和 jQuery
- 通過阻止第三方服務來消除測試不穩定性
- 通過使用 fixtures、JSON APIs 和 API stubbing 來處理數據不確定性
- 通過重構代碼和使用 DRY 原則持續改進您的測試套件
- 通過使用 Action Wrapper 和 Black Hole Proxy 等模式來穩定您的測試

## 詳細內容

Selenium WebDriver 是自動化網頁測試的全球領導者。它使使用者能夠通過其簡單而強大的介面執行複雜的測試場景。

本指南將為您提供成功創建功能性 Selenium 測試套件所需的所有技能。從 Selenium IDE 的最初開始,本書將向您展示如何過渡到 Ruby 或 Java 等真正的程式語言。您將迅速學會如何通過重構來提高代碼質量,以及為未來網站開發計劃所需的技能,以使您的測試套件未來可用。通過大量針對類似真實電子商務商店的測試範例,以及詳細的逐步代碼審查和解釋,您將準備好應對任何網頁開發者可能提出的挑戰。

本書旨在幫助任何希望創建易於維護的測試套件的人,通過擴展您的知識,直到您對 Selenium 感到真正自信和舒適。