SlideShare a Scribd company logo
Automation Testing
with
May 13th, 2013
Panupan Sriautharawong
1Tuesday, May 21, 13
Current Issues
GUIs are difficult to test directly in code.
Our testing procedure consists of manually clicking
through as many common tasks as possible.
We aren’t confident enough idea whether things are
working or not before a release.
Bugs are sometimes hard to explain and reproduce.
No good automation tools available on OS X... until
2Tuesday, May 21, 13
Introducing Sikuli
Origins?
Intuitive open-source visual scripting tool.
Scripts are written in Python.
Screenshot driven.
Intuitive IDE.
3Tuesday, May 21, 13
What can we use it for?
Use it to demonstrate hard to reproduce bugs.
Use it to define and test critical features and common
tasks.
Running automated tests before doing manual testing.
???
???
4Tuesday, May 21, 13
Overview: Global Functions
IDE Command List - exists, find, findAll, wait, click,
doubleClick, dragDrop, type
switchApp(“App Name”)
keyDown(Key.SHIFT+”a”), keyUp(Key.SHIFT+”a”)
popup(“some message”)
userText = input(“some message”, “default”)
5Tuesday, May 21, 13
Overview: Regions
A rectangular area on the screen: Region(x, y, w, h)
Finding Regions:
windowRegion = App.focusedWindow()
buttonRegion = find(...)
Acting on Regions:
region.highlight, click, find, type, etc..
Extending Regions:
region.offset(x,y)
6Tuesday, May 21, 13
Demonstration
Determine what we’re testing.
Figure out what determines success.
Fire up the Sikuli IDE.
Walk through step-by-step simulating user actions.
Check success states at each step.
7Tuesday, May 21, 13
Goals
Think about how you can leverage automation.
Get comfortable writing and running test scripts.
Become experts in Sikuli, able to write modular and
reusable scripts.
Use Sikuli scripts to demonstrate bugs.
Use Sikuli scripts as our official test specifications.
Develop better, more reliable software.
8Tuesday, May 21, 13

More Related Content

PDF
Sikuli script
PPSX
Sikuli script
PPTX
Exploring the internal state of user interfaces using sikuli
PPTX
PPTX
PPTX
sikuli final
PDF
PPTX
Sikuli Slides
Sikuli script
Sikuli script
Exploring the internal state of user interfaces using sikuli
sikuli final
Sikuli Slides

What's hot (20)

PPTX
PDF
Practical Sikuli: using screenshots for GUI automation and testing
PPTX
Sikuli_Demo.pptx
PPTX
Android game ppt
PDF
Java Swing vs. Android App
PDF
Google Developer Student Club Avantika University Info Session
PDF
Android Development Slides
PDF
ASJ intro session
PDF
Android UI Design Tips
PDF
GDSC IIT Goa Info Session Slides
PPTX
Eclipse vs Netbeans
PDF
Android Programming Basics
PDF
Android Development Workshop
PDF
Top Java IDE keyboard shortcuts for Eclipse, IntelliJIDEA, NetBeans (report p...
PPT
Intro to Android Programming
PPT
Synapseindia android apps application
PDF
Top Reasons Why Java Rocks (report preview) - http:0t.ee/java-rocks
PPTX
DSC ASEB Android Study Jams 2020: New to Programming 1
PPTX
App inventor
Practical Sikuli: using screenshots for GUI automation and testing
Sikuli_Demo.pptx
Android game ppt
Java Swing vs. Android App
Google Developer Student Club Avantika University Info Session
Android Development Slides
ASJ intro session
Android UI Design Tips
GDSC IIT Goa Info Session Slides
Eclipse vs Netbeans
Android Programming Basics
Android Development Workshop
Top Java IDE keyboard shortcuts for Eclipse, IntelliJIDEA, NetBeans (report p...
Intro to Android Programming
Synapseindia android apps application
Top Reasons Why Java Rocks (report preview) - http:0t.ee/java-rocks
DSC ASEB Android Study Jams 2020: New to Programming 1
App inventor
Ad

Viewers also liked (17)

PDF
Sikuli Test Automation - How to do it?
PPTX
Automation with Sikuli
ODP
Nagios Conference 2012 - Sam Lansing - Automating Windows Application Testing...
PPT
Lets Auto It
PDF
Speech recognition using neural + fuzzy logic
PPTX
2015-12-06 Букуров Алексей - Автоматическое формирование интерфейса по метаоп...
PPTX
Software Automation Testing Introduction
PPTX
Sikuli Script - идеальный инструмент для обучения автоматизации
PPTX
Web testing automation
PDF
Testing Tool Evaluation Criteria
PPTX
2015 12-05 Александр Шиповалов - Инструмент для тестирования Sikuli script
PPTX
Smarter ways to do selenium automation @ work, Selenium, automation
PPTX
Using AutoIt for Millennium Task Automation
PPTX
Использование Open Source инструментов для автоматизации тестирования
DOCX
Selenium interview questions
PPT
Java Basics for selenium
DOCX
AUtoIT_Masters Project
Sikuli Test Automation - How to do it?
Automation with Sikuli
Nagios Conference 2012 - Sam Lansing - Automating Windows Application Testing...
Lets Auto It
Speech recognition using neural + fuzzy logic
2015-12-06 Букуров Алексей - Автоматическое формирование интерфейса по метаоп...
Software Automation Testing Introduction
Sikuli Script - идеальный инструмент для обучения автоматизации
Web testing automation
Testing Tool Evaluation Criteria
2015 12-05 Александр Шиповалов - Инструмент для тестирования Sikuli script
Smarter ways to do selenium automation @ work, Selenium, automation
Using AutoIt for Millennium Task Automation
Использование Open Source инструментов для автоматизации тестирования
Selenium interview questions
Java Basics for selenium
AUtoIT_Masters Project
Ad

Similar to Automation Testing with Sikuli (20)

PPT
Mobile applications and automation testing
PDF
Test automation - Building effective solutions
PDF
High speed script execution for GUI automation using computer vision
PPT
UIAutomation_Testing
PPTX
PRASADRAJ SIKULI Presentation 2
PPTX
Sikuli UI Automation
PPTX
Presentation1
PPT
Game automation v3
PDF
Introduction to Test Automation
PPT
Test Automation
PDF
Hidden Object Detection for Computer Vision Based Test Automation System
PPTX
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
PPTX
How to make Automation an asset for Organization
PDF
Capstone-Project-Apply-Automation-Testing.pdf
PPTX
User interface testing By Priyanka Chauhan
PPTX
Caleb Crandall - Testing Between the Buckets.pptx
PDF
Top Automated UI Testing Tools 2023.pdf
PPT
Automation Concepts
PPTX
Software Testing Presentation.pptx
PPTX
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
Mobile applications and automation testing
Test automation - Building effective solutions
High speed script execution for GUI automation using computer vision
UIAutomation_Testing
PRASADRAJ SIKULI Presentation 2
Sikuli UI Automation
Presentation1
Game automation v3
Introduction to Test Automation
Test Automation
Hidden Object Detection for Computer Vision Based Test Automation System
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
How to make Automation an asset for Organization
Capstone-Project-Apply-Automation-Testing.pdf
User interface testing By Priyanka Chauhan
Caleb Crandall - Testing Between the Buckets.pptx
Top Automated UI Testing Tools 2023.pdf
Automation Concepts
Software Testing Presentation.pptx
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...

Recently uploaded (20)

PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Getting Started with Data Integration: FME Form 101
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Big Data Technologies - Introduction.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
Building Integrated photovoltaic BIPV_UPV.pdf
Network Security Unit 5.pdf for BCA BBA.
Empathic Computing: Creating Shared Understanding
Digital-Transformation-Roadmap-for-Companies.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Advanced methodologies resolving dimensionality complications for autism neur...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Getting Started with Data Integration: FME Form 101
Diabetes mellitus diagnosis method based random forest with bat algorithm
Machine learning based COVID-19 study performance prediction
Group 1 Presentation -Planning and Decision Making .pptx
NewMind AI Weekly Chronicles - August'25-Week II
MYSQL Presentation for SQL database connectivity
Per capita expenditure prediction using model stacking based on satellite ima...
Big Data Technologies - Introduction.pptx
Encapsulation_ Review paper, used for researhc scholars
Dropbox Q2 2025 Financial Results & Investor Presentation
20250228 LYD VKU AI Blended-Learning.pptx
Unlocking AI with Model Context Protocol (MCP)

Automation Testing with Sikuli

  • 1. Automation Testing with May 13th, 2013 Panupan Sriautharawong 1Tuesday, May 21, 13
  • 2. Current Issues GUIs are difficult to test directly in code. Our testing procedure consists of manually clicking through as many common tasks as possible. We aren’t confident enough idea whether things are working or not before a release. Bugs are sometimes hard to explain and reproduce. No good automation tools available on OS X... until 2Tuesday, May 21, 13
  • 3. Introducing Sikuli Origins? Intuitive open-source visual scripting tool. Scripts are written in Python. Screenshot driven. Intuitive IDE. 3Tuesday, May 21, 13
  • 4. What can we use it for? Use it to demonstrate hard to reproduce bugs. Use it to define and test critical features and common tasks. Running automated tests before doing manual testing. ??? ??? 4Tuesday, May 21, 13
  • 5. Overview: Global Functions IDE Command List - exists, find, findAll, wait, click, doubleClick, dragDrop, type switchApp(“App Name”) keyDown(Key.SHIFT+”a”), keyUp(Key.SHIFT+”a”) popup(“some message”) userText = input(“some message”, “default”) 5Tuesday, May 21, 13
  • 6. Overview: Regions A rectangular area on the screen: Region(x, y, w, h) Finding Regions: windowRegion = App.focusedWindow() buttonRegion = find(...) Acting on Regions: region.highlight, click, find, type, etc.. Extending Regions: region.offset(x,y) 6Tuesday, May 21, 13
  • 7. Demonstration Determine what we’re testing. Figure out what determines success. Fire up the Sikuli IDE. Walk through step-by-step simulating user actions. Check success states at each step. 7Tuesday, May 21, 13
  • 8. Goals Think about how you can leverage automation. Get comfortable writing and running test scripts. Become experts in Sikuli, able to write modular and reusable scripts. Use Sikuli scripts to demonstrate bugs. Use Sikuli scripts as our official test specifications. Develop better, more reliable software. 8Tuesday, May 21, 13