Instant Sikuli Test Automation
暫譯: 即時 Sikuli 測試自動化
Ben Lau
- 出版商: Packt Publishing
- 出版日期: 2013-07-07
- 售價: $1,190
- 貴賓價: 9.5 折 $1,131
- 語言: 英文
- 頁數: 54
- 裝訂: Paperback
- ISBN: 1782167870
- ISBN-13: 9781782167877
-
相關分類:
Python、程式語言、軟體測試
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$980$980 -
$680$537 -
$254現用現查(附光盤DOS命令行應用實戰秘籍)
-
$454Jenkins 權威指南
-
$352$331
商品描述
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 進行自動化測試,例如啟動應用程式、截取螢幕截圖和導航滑鼠,然後再進入更高級的主題,如使用可重用的測試片段構建大型測試套件。在此過程中,您還將學習如何利用 Sikuli 與 Python 語言和 Java 的連結來創建更豐富的測試。本書中將以一系列範例展示 Sikuli 的強大功能,讓您了解撰寫有效測試、管理測試套件、執行測試和生成報告所需的一切。在本書的結尾,您將對使用 Sikuli 執行測試套件和生成報告的能力更加自信。
您將從本書中學到的內容
- 使用截圖和 Sikuli 的簡單語法驅動應用程式
- 建立可重用的測試片段庫,以管理大型測試套件
- 從 Sikuli 中訪問 Java,以在您的 Sikuli 腳本中利用 Java 的強大功能
- 通過視頻日誌進行測試調試,以便後續分析
- 學習使測試具備容錯能力的技術
- 為應用程式建立自動化測試套件
- 理解 Sikuli 測試的性能優化
- 開發一個全面的框架來管理和執行測試
方法
掌握一項新技術,了解它是什麼以及它能為您做什麼,然後開始使用最重要的功能和任務。這是一個簡明的指南,以易於理解的風格撰寫,採用入門指南的方法。
本書的讀者對象
本書針對希望使用 Sikuli 自動化 GUI 的自動化和測試專業人員。假設讀者具備一定的 Python 程式設計經驗。