Instant Sikuli Test Automation [Instant]


This title is available as an eBook only
Instant Sikuli Test Automation [Instant]
eBook: $14.99
Formats: PDF, PacktLib, ePub and Mobi formats
$11.99
save 20%!
Print & eBook also available on:
Learn in an Instant - Short, Fast, Focused
Overview
Table of Contents
Author
Support
Sample Chapters
  • 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

Book Details

Language : English
eBook : 54 pages
Release Date : July 2013
ISBN : 1782167870
ISBN 13 : 9781782167877
Author(s) : Ben Lau
Topics and Technologies : All Books, Application Development, Instant, Open Source, Web Graphics & Video

Table of Contents

Instant Sikuli Test Automation
  • Instant Sikuli Test Automation
    • So, what is Sikuli?
    • Installation
      • Installation on Mac OS X
        • Step 1 – what do I need?
        • Step 2 – downloading Sikuli
        • Step 3 – extracting the Sikuli IDE
        • Step 4 – starting Sikuli
      • Installing Sikuli on Windows 7
        • Step 1 – what do I need?
        • Step 2 – downloading Sikuli
        • Step 3 – extracting the Sikuli IDE
        • Step 4 – starting Sikuli
    • Quick start – writing your first script
      • Your first script with Sikuli on Mac OS X
        • Step 1 – starting an application
        • Step 2 – checking whether the application has started
        • Step 3 – providing input to the app with type()
        • Step 4 – using the modifier key with type()
        • Step 5 – clicking on buttons with click()
        • Step 6 – closing the application
      • Your first script with Sikuli on Windows
        • Step 1 – starting an application
        • Step 2 – checking whether the application has started
        • Step 3 – providing input to the app with type()
        • Step 4 – using the modifier key with type()
        • Step 5 – clicking on buttons with click()
        • Step 6 – closing the application
    • Top 13 features you need to know about
      • The basics
      • Finding things on the screen and how to use regions
      • Flow control in Python using loops
      • More flow control techniques and interacting with scrollbars
      • Utilizing Python in your Sikuli scripts
      • Event-driven workflows
      • Test automation
      • Assembling a testing framework
      • Debugging Sikuli scripts
      • Capturing images using capture()
      • Accessing Java from Sikuli
      • Searching for and decoding text on the screen
      • Extracting text using the clipboard() method
    • People and places you should get to know
      • Official sites
      • Articles and tutorials
      • Community
      • Blogs
      • Twitter
    • Summary

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.
Sorry, we don't have any reviews for this title yet.

Code Downloads

Download the code and support files for this book.


Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

Sorry, there are currently no downloads available for this title.

Frequently bought together

Instant Sikuli Test Automation [Instant] +    Joomla! 1.5 Cookbook =
50% Off
the second eBook
Price for both: €24.85

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

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

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.

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 for

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

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software