Instant Sikuli Test Automation

Ben Lau

  • 出版商: Packt Publishing
  • 出版日期: 2013-07-07
  • 售價: $1,090
  • 貴賓價: 9.5$1,036
  • 語言: 英文
  • 頁數: 54
  • 裝訂: Paperback
  • ISBN: 1782167870
  • ISBN-13: 9781782167877
  • 相關分類: Python程式語言軟體測試
  • 海外代購書籍(需單獨結帳)

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

商品描述

Discover automated application testing techniques for anything that is visible on the computer screen

Overview

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results
  • Write simple tests using the Sikuli IDE
  • Construct a framework for running your tests and reporting results
  • Learn best practices for building reusable Sikuli scripts and sharing capabilities between them

In Detail

Automated testing of applications is a hot topic in software development, but doing it effectively and flexibly is a difficult task. Sikuli provides an excellent balance, leveraging the simplicity of constructing tests using screenshots and the expressive power of the Python programming language to construct automated tests.

Instant Sikuli Starter: Effective Test Automation presents a series of examples that build on one another to demonstrate the key features provided by Sikuli. You will also learn additional techniques that will allow you to construct effective automated application test suites quickly and easily.

Beginning with a quick introduction to Sikuli, you will be guided through everything you need to know to write your own script with Sikuli. Learn how to use Sikuli for automated testing starting from the very basics, such as starting applications, taking screenshots, and navigating the mouse, before moving on to more advanced topics like constructing large testing suites using reusable test fragments. Along the way, you will also learn how to leverage Sikuli's links to both the Python language and Java to create richer tests. Everything you'll need to write effective tests, manage test suites, execute tests, and generate reports is presented in a series of examples demonstrating the power of Sikuli. Towards the end of this book, you will become more confident in your ability to execute test suites and generate reports using Sikuli.

What you will learn from this book

  • Drive applications using screenshots and Sikuli's simple syntax
  • Build a library of reusable test fragments to manage large test suites
  • Access Java from within Sikuli to leverage Java's power within your Sikuli scripts
  • Debug tests through video logging for later analysis
  • Learn techniques for making tests fault tolerant
  • Build up an automated test suite for an application
  • Understand performance optimization of Sikuli tests
  • Develop a comprehensive framework for managing and executing tests

Approach

Get to grips with a new technology, understand what it is and what it can do for you, and then get to work with the most important features and tasks. A concise guide written in an easy-to follow style using the Starter guide approach.

Who this book is written for

This book is aimed at automation and testing professionals who want to use Sikuli to automate GUI. Some Python programming experience is assumed.

商品描述(中文翻譯)

發現自動化應用程式測試技術,適用於電腦螢幕上可見的任何內容。

概述:
- 學習新知識的最佳選擇!一本短小、快速、專注的指南,立即獲得成果。
- 使用Sikuli IDE編寫簡單的測試。
- 建立運行測試並報告結果的框架。
- 學習建立可重複使用的Sikuli腳本和共享功能的最佳實踐。

詳細內容:
應用程式的自動化測試是軟體開發中熱門的話題,但要有效靈活地進行測試是一項困難的任務。Sikuli提供了一個很好的平衡,利用使用螢幕截圖構建測試的簡單性,以及使用Python編程語言構建自動化測試的表達能力。

《Instant Sikuli Starter: Effective Test Automation》提供了一系列的示例,逐步演示Sikuli提供的關鍵功能。您還將學習其他技巧,以便能夠快速輕鬆地構建有效的自動化應用程式測試套件。

從快速介紹Sikuli開始,您將被引導完成所有需要了解的內容,以使用Sikuli編寫自己的腳本。從基礎知識開始,例如啟動應用程式、截圖和滑鼠導航,然後進一步探討更高級的主題,例如使用可重複使用的測試片段構建大型測試套件。在此過程中,您還將學習如何利用Sikuli與Python語言和Java的連接,創建更豐富的測試。本書以一系列示例展示了撰寫有效測試、管理測試套件、執行測試和生成報告所需的一切,展示了Sikuli的強大功能。在本書的最後,您將對使用Sikuli執行測試套件和生成報告的能力更加自信。

本書的學習重點:
- 使用螢幕截圖和Sikuli的簡單語法來操作應用程式。
- 建立可重複使用的測試片段庫,以管理大型測試套件。
- 從Sikuli內部訪問Java,利用Java的強大功能來擴展Sikuli腳本。
- 通過視頻日誌記錄進行測試調試,以供日後分析。
- 學習使測試具有容錯能力的技巧。
- 構建應用程式的自動化測試套件。
- 了解Sikuli測試的性能優化。
- 開發全面的測試管理和執行框架。

這本書的寫作對象:
本書針對希望使用Sikuli自動化GUI的自動化和測試專業人士。假設讀者具有一些Python編程經驗。