Selenium Design Patterns and Best Practices (Paperback)

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開發有經驗的開發人員,或者是新任務是創建自動化測試的人。由於這些想法和概念以簡單的方式描述,因此不需要具備計算機編碼或編程的先前經驗。

您將學到什麼

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

詳細內容

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

本指南將為您提供成功創建功能性Selenium測試套件所需的所有技能。從Selenium IDE的開始,本書將向您展示如何過渡到Ruby或Java等真實的編程語言。您將迅速學習如何通過重構提高代碼質量,以及計劃未來網站開發所需的技能,以使您的測試套件具有未來可擴展性。通過對一個逼真的電子商務商店運行的豐富測試示例以及詳細的逐步代碼審查和解釋,您將準備好應對網絡開發人員可能遇到的任何挑戰。

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