Practical Web Test Automation: Automated test web applications wisely with open source test frameworks: Selenium and Watir
暫譯: 實用的網頁測試自動化:智慧地使用開源測試框架自動化測試網頁應用程式:Selenium 和 Watir

Zhimin Zhan

  • 出版商: CreateSpace Independ
  • 出版日期: 2014-10-10
  • 售價: $1,190
  • 貴賓價: 9.5$1,131
  • 語言: 英文
  • 頁數: 224
  • 裝訂: Paperback
  • ISBN: 1505882893
  • ISBN-13: 9781505882896
  • 相關分類: selenium
  • 海外代購書籍(需單獨結帳)

商品描述

While few people deny the benefits of test automation, comprehensive automated testing via UI (browser for web applications) is rarely implemented in software projects. Common reasons for projects' failed attempts on test automation are:

  • Difficult to learn - test scripts are complex and testing tools are not easy to use
  • Hard to maintain - UI tests are vulnerable to application changes
  • Long feedback loop - automated tests take too long to run

To succeed in automated testing via UI, software projects need to overcome all these 3 chellenges.

This book presents a practical approach to implementing test automation for web applications. Topics include:

  • Developing easy to read and maintain Watir/Selenium tests using next-generation functional testing tool
  • Page object model
  • Functional Testing Refactorings
  • Cross-browser testing against IE, Firefox and Chrome
  • Setting up continuous testing server to manage execution of a large number of automated UI tests
  • Requirement traceability matrix
  • Strategies on team collaboration and test automation adoption in projects and organizations

商品描述(中文翻譯)

雖然很少有人否認測試自動化的好處,但在軟體專案中,透過 UI(網頁應用程式的瀏覽器)進行全面的自動化測試卻很少被實施。專案在測試自動化方面失敗的常見原因包括:




  • 難以 學習 - 測試腳本複雜,測試工具不易使用


  • 難以 維護 - UI 測試容易受到應用程式變更的影響


  • 反饋 迴路長 - 自動化測試執行時間過長


要在 UI 自動化測試中取得成功,軟體專案需要克服所有這三個挑戰。


本書提供了一種實用的方法來實施網頁應用程式的測試自動化。主題包括:



  • 使用下一代功能測試工具開發易於閱讀和維護的 Watir/Selenium 測試

  • 頁面物件模型

  • 功能測試重構

  • 針對 IE、Firefox 和 Chrome 的跨瀏覽器測試

  • 設置持續測試伺服器以管理大量自動化 UI 測試的執行

  • 需求可追溯性矩陣

  • 團隊協作和專案及組織中測試自動化採用的策略