SlideShare a Scribd company logo
1 of 8
Download to read offline
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

What's hot

Top Java IDE keyboard shortcuts for Eclipse, IntelliJIDEA, NetBeans (report p...
Top Java IDE keyboard shortcuts for Eclipse, IntelliJIDEA, NetBeans (report p...Top Java IDE keyboard shortcuts for Eclipse, IntelliJIDEA, NetBeans (report p...
Top Java IDE keyboard shortcuts for Eclipse, IntelliJIDEA, NetBeans (report p...
ZeroTurnaround
 

What's hot (20)

Sikuli
SikuliSikuli
Sikuli
 
Practical Sikuli: using screenshots for GUI automation and testing
Practical Sikuli: using screenshots for GUI automation and testingPractical Sikuli: using screenshots for GUI automation and testing
Practical Sikuli: using screenshots for GUI automation and testing
 
Sikuli_Demo.pptx
Sikuli_Demo.pptxSikuli_Demo.pptx
Sikuli_Demo.pptx
 
Android game ppt
Android game pptAndroid game ppt
Android game ppt
 
Java Swing vs. Android App
Java Swing vs. Android AppJava Swing vs. Android App
Java Swing vs. Android App
 
Google Developer Student Club Avantika University Info Session
Google Developer Student Club Avantika University Info SessionGoogle Developer Student Club Avantika University Info Session
Google Developer Student Club Avantika University Info Session
 
Android Development Slides
Android Development SlidesAndroid Development Slides
Android Development Slides
 
Roadmap to Development
Roadmap to DevelopmentRoadmap to Development
Roadmap to Development
 
ASJ intro session
ASJ intro sessionASJ intro session
ASJ intro session
 
Android UI Design Tips
Android UI Design TipsAndroid UI Design Tips
Android UI Design Tips
 
GDSC IIT Goa Info Session Slides
GDSC IIT Goa Info Session SlidesGDSC IIT Goa Info Session Slides
GDSC IIT Goa Info Session Slides
 
Eclipse vs Netbeans
Eclipse vs NetbeansEclipse vs Netbeans
Eclipse vs Netbeans
 
Android Programming Basics
Android Programming BasicsAndroid Programming Basics
Android Programming Basics
 
Android Development Workshop
Android Development WorkshopAndroid Development Workshop
Android Development Workshop
 
Top Java IDE keyboard shortcuts for Eclipse, IntelliJIDEA, NetBeans (report p...
Top Java IDE keyboard shortcuts for Eclipse, IntelliJIDEA, NetBeans (report p...Top Java IDE keyboard shortcuts for Eclipse, IntelliJIDEA, NetBeans (report p...
Top Java IDE keyboard shortcuts for Eclipse, IntelliJIDEA, NetBeans (report p...
 
Intro to Android Programming
Intro to Android ProgrammingIntro to Android Programming
Intro to Android Programming
 
Synapseindia android apps application
Synapseindia android apps applicationSynapseindia android apps application
Synapseindia android apps application
 
Top Reasons Why Java Rocks (report preview) - http:0t.ee/java-rocks
Top Reasons Why Java Rocks (report preview) - http:0t.ee/java-rocksTop Reasons Why Java Rocks (report preview) - http:0t.ee/java-rocks
Top Reasons Why Java Rocks (report preview) - http:0t.ee/java-rocks
 
DSC ASEB Android Study Jams 2020: New to Programming 1
DSC ASEB Android Study Jams 2020: New to Programming 1DSC ASEB Android Study Jams 2020: New to Programming 1
DSC ASEB Android Study Jams 2020: New to Programming 1
 
App inventor
App inventorApp inventor
App inventor
 

Viewers also liked

2015-12-06 Букуров Алексей - Автоматическое формирование интерфейса по метаоп...
2015-12-06 Букуров Алексей - Автоматическое формирование интерфейса по метаоп...2015-12-06 Букуров Алексей - Автоматическое формирование интерфейса по метаоп...
2015-12-06 Букуров Алексей - Автоматическое формирование интерфейса по метаоп...
HappyDev
 
Testing Tool Evaluation Criteria
Testing Tool Evaluation CriteriaTesting Tool Evaluation Criteria
Testing Tool Evaluation Criteria
basma_iti_1984
 
2015 12-05 Александр Шиповалов - Инструмент для тестирования Sikuli script
2015 12-05 Александр Шиповалов - Инструмент для тестирования Sikuli script2015 12-05 Александр Шиповалов - Инструмент для тестирования Sikuli script
2015 12-05 Александр Шиповалов - Инструмент для тестирования Sikuli script
HappyDev
 
Smarter ways to do selenium automation @ work, Selenium, automation
Smarter ways to do selenium automation @ work, Selenium, automationSmarter ways to do selenium automation @ work, Selenium, automation
Smarter ways to do selenium automation @ work, Selenium, automation
RIA RUI Society
 
AUtoIT_Masters Project
AUtoIT_Masters ProjectAUtoIT_Masters Project
AUtoIT_Masters Project
Paturi Dheeraj
 

Viewers also liked (17)

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

Similar to Automation Testing with Sikuli

Functional Requirements Of System Requirements
Functional Requirements Of System RequirementsFunctional Requirements Of System Requirements
Functional Requirements Of System Requirements
Laura Arrigo
 
Smart toolbar removal fixer pro
Smart toolbar removal fixer proSmart toolbar removal fixer pro
Smart toolbar removal fixer pro
olivemiao
 
Are Automated Debugging Techniques Actually Helping Programmers
Are Automated Debugging Techniques Actually Helping ProgrammersAre Automated Debugging Techniques Actually Helping Programmers
Are Automated Debugging Techniques Actually Helping Programmers
Chris Parnin
 
Hidden Object Detection for Computer Vision Based Test Automation System
Hidden Object Detection for Computer Vision Based Test Automation SystemHidden Object Detection for Computer Vision Based Test Automation System
Hidden Object Detection for Computer Vision Based Test Automation System
Syeful Islam
 

Similar to Automation Testing with Sikuli (20)

Tools/Processes for serious android app development
Tools/Processes for serious android app developmentTools/Processes for serious android app development
Tools/Processes for serious android app development
 
Jdj Foss Java Tools
Jdj Foss Java ToolsJdj Foss Java Tools
Jdj Foss Java Tools
 
Functional Requirements Of System Requirements
Functional Requirements Of System RequirementsFunctional Requirements Of System Requirements
Functional Requirements Of System Requirements
 
Improving developer tester collaboration with microsoft visual studio 2010
Improving developer tester collaboration with microsoft visual studio 2010Improving developer tester collaboration with microsoft visual studio 2010
Improving developer tester collaboration with microsoft visual studio 2010
 
Prototyping GNOME UI for Gestural Input
Prototyping GNOME UI for Gestural InputPrototyping GNOME UI for Gestural Input
Prototyping GNOME UI for Gestural Input
 
How to Master Mobile Automation in QA
How to Master Mobile Automation in QAHow to Master Mobile Automation in QA
How to Master Mobile Automation in QA
 
07 interface design
07 interface design07 interface design
07 interface design
 
Smart toolbar removal fixer pro
Smart toolbar removal fixer proSmart toolbar removal fixer pro
Smart toolbar removal fixer pro
 
A false digital alibi on Mac OS X
A false digital alibi on Mac OS XA false digital alibi on Mac OS X
A false digital alibi on Mac OS X
 
Are Automated Debugging Techniques Actually Helping Programmers
Are Automated Debugging Techniques Actually Helping ProgrammersAre Automated Debugging Techniques Actually Helping Programmers
Are Automated Debugging Techniques Actually Helping Programmers
 
Performance testing locust
Performance testing   locustPerformance testing   locust
Performance testing locust
 
RPA Developer Kickstarter | Day 3: UI Automation and UiPath Selectors
RPA Developer Kickstarter | Day 3: UI Automation and UiPath SelectorsRPA Developer Kickstarter | Day 3: UI Automation and UiPath Selectors
RPA Developer Kickstarter | Day 3: UI Automation and UiPath Selectors
 
Hidden Object Detection for Computer Vision Based Test Automation System
Hidden Object Detection for Computer Vision Based Test Automation SystemHidden Object Detection for Computer Vision Based Test Automation System
Hidden Object Detection for Computer Vision Based Test Automation System
 
High speed script execution for GUI automation using computer vision
High speed script execution for GUI automation using computer visionHigh speed script execution for GUI automation using computer vision
High speed script execution for GUI automation using computer vision
 
kritika_resume2
kritika_resume2kritika_resume2
kritika_resume2
 
Kamal-2
Kamal-2Kamal-2
Kamal-2
 
TMPA-2017: Unity Application Testing Automation with Appium and Image Recogni...
TMPA-2017: Unity Application Testing Automation with Appium and Image Recogni...TMPA-2017: Unity Application Testing Automation with Appium and Image Recogni...
TMPA-2017: Unity Application Testing Automation with Appium and Image Recogni...
 
Git Makes Me Angry Inside
Git Makes Me Angry InsideGit Makes Me Angry Inside
Git Makes Me Angry Inside
 
It's Automation, Not Automagic
It's Automation, Not AutomagicIt's Automation, Not Automagic
It's Automation, Not Automagic
 
Automated ui testing
Automated ui testingAutomated ui testing
Automated ui testing
 

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 

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