Book Details

ISBN 139781782167877

Paperback54 pages

Book Description

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.

Table of Contents

Chapter 1: Instant Sikuli Test Automation

So, what is Sikuli?

Installation

Quick start – writing your first script

Top 13 features you need to know about

People and places you should get to know

Summary

What You Will Learn

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

Authors

Ben Lau

Ben Lau has worked as a software and build engineer since the mid 90s. He began his career as an intern for a major university in Southern California, working on virtual reality training systems, and continued there for almost 10 years, working on a variety of projects. After leaving the university to join a spin-off developing language training applications for the military,he began to specialize in build and release engineering and also branched out into automated testing. He is currently employed at a midsized startup in the Los Angeles area, working as their build and release manager.

Alerts & Offers

Series & Level

We understand your time is important. Uniquely amongst the major publishers, we seek to develop and publish the broadest range of learning and information products on each technology. Every Packt product delivers a specific learning pathway, broadly defined by the Series type. This structured approach enables you to select the pathway which best suits your knowledge level, learning style and task objectives.

Learning

As a new user, these step-by-step tutorial guides will give you all the practical skills necessary to become competent and efficient.

Beginner's Guide

Friendly, informal tutorials that provide a practical introduction using examples, activities, and challenges.

Essentials

Fast paced, concentrated introductions showing the quickest way to put the tool to work in the real world.

Cookbook

A collection of practical self-contained recipes that all users of the technology will find useful for building more powerful and reliable systems.

Blueprints

Guides you through the most common types of project you'll encounter, giving you end-to-end guidance on how to build your specific solution quickly and reliably.

Mastering

Take your skills to the next level with advanced tutorials that will give you confidence to master the tool's most powerful features.

Starting

Accessible to readers adopting the topic, these titles get you into the tool or technology so that you can become an effective user.

Progressing

Building on core skills you already have, these titles share solutions and expertise so you become a highly productive power user.