SlideShare a Scribd company logo
Sikuli Demo + NoVaTAIG
Presentation
June 8, 2012
Raghavendra
University of JNTU
Outline
• Sikuli User Experience at OMB (Rudy and Dan)
– Sikuli environment diagram
– Sikuli workflow
– Recording a Sample Script
– Tool Settings
• Fuzzy Logic Pattern matching
– Flow Control Features
• Loops, delays, etc
• Assertions, interfacing with Jython
– Record a script and playback
• Sikuli Current Status (Dr. Yeh)
– Sikuli history
– User Communities
– New Developments and future direction
Sikuli Environment Diagram
Sikuli Proof Of Concept @ OMB
BSB
Shared Desktop App – similar to
Adobe Connect
What Shared Desktop does
• Can open a personal or group room for sharing
• Person who opens a room is the room owner
• Room owner sends URL invitations to attendees
• Room owner can accept attendees individually or
automatically
• Room owner can change attendees permissions –
view only, mouse only, keyboard/mouse, host
(full permissions including changing other
attendee permissions)
What we did @ OMB
• Wrote two Sikuli scripts:
– One represented the actions of the room owner
– One represented the actions of an attendee
• The two scripts simulated how a room works, and were
launched at the same time:
– The room owner opened his room and waited for the attendee
to enter
– The attendee sent the room URL and waited for the room to
open
– Once the room was opened the room owner accepted the
attendee
– The room owner gave the attendee Host permission
– The attendee opened up a Word document and the room and
entered text
– The room owner also entered text into the same Word
document
NoVaTAIG Demo Outline
1) How to record Sikuli script using IDE
a) Sikuli syntax - keywords
b)Image Pattern Matching
2) How to call Sikuli from Watir-Webdriver/ Cucumber
a) Feature file
b)Scenarios/ Scenario Outline
c) Step Definitions
d)HTML output
Start by Using Sikuli IDE to record
Verify the images are recognized
Verify, then migrate sikuli images to
Cucumber/ Watir-Webdriver folder
structure
Feature file
Step definitions
Supporting ruby methods
Run the cucumber (happy cuking!)
All Green
Failure scenario
References
http://www.software-testing.com.au/blog/2010/08/16/automating-flash-ajax-popups-and-mor
http://catherinedevlin.pythoneers.com/presentations/sikuli/sikuli.html
http://bob.igo.name/wp-content/uploads/2010/10/Bob_Igo_Sikuli_cposc2010.pdf
http://www.cuberick.com/2010/06/testing-image-generation-with-cucumber.html
For a copy of the cucumber/watir-webdriver/sikuli scripts that were demo’d, please
contact
For a copy of the prototype sikuli storyboard and runner that was demo’d, please contact
tomyeh@umiacs.umd.edu

More Related Content

Viewers also liked

Angles in geometry
Angles in geometryAngles in geometry
Angles in geometry
cpaul1000
 
L14 lons
L14 lonsL14 lons
L14 lons
Socheata Lon
 
From temporal to static networks, and back
From temporal to static networks, and backFrom temporal to static networks, and back
From temporal to static networks, and back
Petter Holme
 
Marketing v sociálních médiích | 5. hodina | Tvorba strategie pro sociální média
Marketing v sociálních médiích | 5. hodina | Tvorba strategie pro sociální médiaMarketing v sociálních médiích | 5. hodina | Tvorba strategie pro sociální média
Marketing v sociálních médiích | 5. hodina | Tvorba strategie pro sociální média
mascha_dudu
 
Jeopardy world studies asia & the pacific chapter 1 east asia phtsical geography
Jeopardy world studies asia & the pacific chapter 1 east asia phtsical geographyJeopardy world studies asia & the pacific chapter 1 east asia phtsical geography
Jeopardy world studies asia & the pacific chapter 1 east asia phtsical geographyAnthony_Maiorano
 
Copyright and fair use
Copyright and fair useCopyright and fair use
Copyright and fair use
DrJasonBeach
 
Examsummary
ExamsummaryExamsummary
Examsummary
Abdul Latheef
 
偶像
偶像偶像
偶像
rhou123
 
Economic Development Budget FY 15
Economic Development Budget FY 15 Economic Development Budget FY 15
Economic Development Budget FY 15
Karen Pollard, CEcD, EDP
 
Katalog Wellness Oriflame 9/2013
Katalog Wellness Oriflame 9/2013Katalog Wellness Oriflame 9/2013
Katalog Wellness Oriflame 9/2013
Klara Resto
 
Menzis MFO 2013_dag1
Menzis MFO 2013_dag1Menzis MFO 2013_dag1
Menzis MFO 2013_dag1
MijnFysioOnline
 
Regulaciones Venezolanas en materia de las TIC
Regulaciones Venezolanas en materia de las TICRegulaciones Venezolanas en materia de las TIC
Regulaciones Venezolanas en materia de las TIC
Raùl Alfonso Aparicio Ruiz
 

Viewers also liked (14)

Angles in geometry
Angles in geometryAngles in geometry
Angles in geometry
 
Latih tubi 2
Latih tubi 2Latih tubi 2
Latih tubi 2
 
L14 lons
L14 lonsL14 lons
L14 lons
 
From temporal to static networks, and back
From temporal to static networks, and backFrom temporal to static networks, and back
From temporal to static networks, and back
 
Marketing v sociálních médiích | 5. hodina | Tvorba strategie pro sociální média
Marketing v sociálních médiích | 5. hodina | Tvorba strategie pro sociální médiaMarketing v sociálních médiích | 5. hodina | Tvorba strategie pro sociální média
Marketing v sociálních médiích | 5. hodina | Tvorba strategie pro sociální média
 
Jeopardy world studies asia & the pacific chapter 1 east asia phtsical geography
Jeopardy world studies asia & the pacific chapter 1 east asia phtsical geographyJeopardy world studies asia & the pacific chapter 1 east asia phtsical geography
Jeopardy world studies asia & the pacific chapter 1 east asia phtsical geography
 
Copyright and fair use
Copyright and fair useCopyright and fair use
Copyright and fair use
 
Examsummary
ExamsummaryExamsummary
Examsummary
 
Solve sysbyelimmult (1)
Solve sysbyelimmult (1)Solve sysbyelimmult (1)
Solve sysbyelimmult (1)
 
偶像
偶像偶像
偶像
 
Economic Development Budget FY 15
Economic Development Budget FY 15 Economic Development Budget FY 15
Economic Development Budget FY 15
 
Katalog Wellness Oriflame 9/2013
Katalog Wellness Oriflame 9/2013Katalog Wellness Oriflame 9/2013
Katalog Wellness Oriflame 9/2013
 
Menzis MFO 2013_dag1
Menzis MFO 2013_dag1Menzis MFO 2013_dag1
Menzis MFO 2013_dag1
 
Regulaciones Venezolanas en materia de las TIC
Regulaciones Venezolanas en materia de las TICRegulaciones Venezolanas en materia de las TIC
Regulaciones Venezolanas en materia de las TIC
 

Similar to Sikuli_Demo(1)

Starting from scratch in 2017
Starting from scratch in 2017Starting from scratch in 2017
Starting from scratch in 2017
Stefano Bonetta
 
OSGi on Google Android using Apache Felix
OSGi on Google Android using Apache FelixOSGi on Google Android using Apache Felix
OSGi on Google Android using Apache Felix
Marcel Offermans
 
Test Automation with Twist and Sahi
Test Automation with Twist and SahiTest Automation with Twist and Sahi
Test Automation with Twist and Sahi
ericjamesblackburn
 
[Rakuten TechConf2014] [Osaka] Introducing Selenium 2 WebDriver
[Rakuten TechConf2014] [Osaka] Introducing Selenium 2 WebDriver[Rakuten TechConf2014] [Osaka] Introducing Selenium 2 WebDriver
[Rakuten TechConf2014] [Osaka] Introducing Selenium 2 WebDriver
Rakuten Group, Inc.
 
DockerCon 15 Keynote - Day 2
DockerCon 15 Keynote - Day 2DockerCon 15 Keynote - Day 2
DockerCon 15 Keynote - Day 2
Docker, Inc.
 
Shomi's Journey to Chef: Lessons Learned on Implementing Chef
Shomi's Journey to Chef: Lessons Learned on Implementing ChefShomi's Journey to Chef: Lessons Learned on Implementing Chef
Shomi's Journey to Chef: Lessons Learned on Implementing Chef
Kate Carcelen
 
Shomi's Journey to Chef: Lessons Learned on Implementing Chef
Shomi's Journey to Chef: Lessons Learned on Implementing ChefShomi's Journey to Chef: Lessons Learned on Implementing Chef
Shomi's Journey to Chef: Lessons Learned on Implementing Chef
Chef
 
AngularJS - Architecture decisions in a large project 
AngularJS - Architecture decisionsin a large project AngularJS - Architecture decisionsin a large project 
AngularJS - Architecture decisions in a large project 
Elad Hirsch
 
AngularJS Beginners Workshop
AngularJS Beginners WorkshopAngularJS Beginners Workshop
AngularJS Beginners Workshop
Sathish VJ
 
SQL Queries on Smalltalk Objects
SQL Queries on Smalltalk ObjectsSQL Queries on Smalltalk Objects
SQL Queries on Smalltalk Objects
ESUG
 
Sikuli
SikuliSikuli
CI/CD with Openshift and Jenkins
CI/CD with Openshift and JenkinsCI/CD with Openshift and Jenkins
CI/CD with Openshift and Jenkins
Ari LiVigni
 
Introduction to Android Development and Security
Introduction to Android Development and SecurityIntroduction to Android Development and Security
Introduction to Android Development and Security
Kelwin Yang
 
GitHub Presentation
GitHub PresentationGitHub Presentation
GitHub Presentation
BrianSchilder
 
Professionalizing the Front-end
Professionalizing the Front-endProfessionalizing the Front-end
Professionalizing the Front-end
Jordi Anguela
 
Untangling - fall2017 - week 9
Untangling - fall2017 - week 9Untangling - fall2017 - week 9
Untangling - fall2017 - week 9
Derek Jacoby
 
Splunk Developer Platform
Splunk Developer PlatformSplunk Developer Platform
Splunk Developer Platform
Damien Dallimore
 
Craft Beer & Clojure
Craft Beer & ClojureCraft Beer & Clojure
Craft Beer & Clojure
Metosin Oy
 
Effective .NET Core Unit Testing with SQLite and Dapper
Effective .NET Core Unit Testing with SQLite and DapperEffective .NET Core Unit Testing with SQLite and Dapper
Effective .NET Core Unit Testing with SQLite and Dapper
Mike Melusky
 

Similar to Sikuli_Demo(1) (20)

Starting from scratch in 2017
Starting from scratch in 2017Starting from scratch in 2017
Starting from scratch in 2017
 
OSGi on Google Android using Apache Felix
OSGi on Google Android using Apache FelixOSGi on Google Android using Apache Felix
OSGi on Google Android using Apache Felix
 
Test Automation with Twist and Sahi
Test Automation with Twist and SahiTest Automation with Twist and Sahi
Test Automation with Twist and Sahi
 
[Rakuten TechConf2014] [Osaka] Introducing Selenium 2 WebDriver
[Rakuten TechConf2014] [Osaka] Introducing Selenium 2 WebDriver[Rakuten TechConf2014] [Osaka] Introducing Selenium 2 WebDriver
[Rakuten TechConf2014] [Osaka] Introducing Selenium 2 WebDriver
 
DockerCon 15 Keynote - Day 2
DockerCon 15 Keynote - Day 2DockerCon 15 Keynote - Day 2
DockerCon 15 Keynote - Day 2
 
Shomi's Journey to Chef: Lessons Learned on Implementing Chef
Shomi's Journey to Chef: Lessons Learned on Implementing ChefShomi's Journey to Chef: Lessons Learned on Implementing Chef
Shomi's Journey to Chef: Lessons Learned on Implementing Chef
 
Shomi's Journey to Chef: Lessons Learned on Implementing Chef
Shomi's Journey to Chef: Lessons Learned on Implementing ChefShomi's Journey to Chef: Lessons Learned on Implementing Chef
Shomi's Journey to Chef: Lessons Learned on Implementing Chef
 
AngularJS - Architecture decisions in a large project 
AngularJS - Architecture decisionsin a large project AngularJS - Architecture decisionsin a large project 
AngularJS - Architecture decisions in a large project 
 
AngularJS Beginners Workshop
AngularJS Beginners WorkshopAngularJS Beginners Workshop
AngularJS Beginners Workshop
 
SQL Queries on Smalltalk Objects
SQL Queries on Smalltalk ObjectsSQL Queries on Smalltalk Objects
SQL Queries on Smalltalk Objects
 
Sikuli
SikuliSikuli
Sikuli
 
CI/CD with Openshift and Jenkins
CI/CD with Openshift and JenkinsCI/CD with Openshift and Jenkins
CI/CD with Openshift and Jenkins
 
Introduction to Android Development and Security
Introduction to Android Development and SecurityIntroduction to Android Development and Security
Introduction to Android Development and Security
 
GitHub Presentation
GitHub PresentationGitHub Presentation
GitHub Presentation
 
Professionalizing the Front-end
Professionalizing the Front-endProfessionalizing the Front-end
Professionalizing the Front-end
 
Untangling - fall2017 - week 9
Untangling - fall2017 - week 9Untangling - fall2017 - week 9
Untangling - fall2017 - week 9
 
Splunk Developer Platform
Splunk Developer PlatformSplunk Developer Platform
Splunk Developer Platform
 
Craft Beer & Clojure
Craft Beer & ClojureCraft Beer & Clojure
Craft Beer & Clojure
 
Effective .NET Core Unit Testing with SQLite and Dapper
Effective .NET Core Unit Testing with SQLite and DapperEffective .NET Core Unit Testing with SQLite and Dapper
Effective .NET Core Unit Testing with SQLite and Dapper
 
Protractor survival guide
Protractor survival guideProtractor survival guide
Protractor survival guide
 

More from Gopi Raghavendra

kalyanasundaram,Gopi_tcoepresentation
kalyanasundaram,Gopi_tcoepresentationkalyanasundaram,Gopi_tcoepresentation
kalyanasundaram,Gopi_tcoepresentationGopi Raghavendra
 
Key Measurements For Testers
Key Measurements For TestersKey Measurements For Testers
Key Measurements For TestersGopi Raghavendra
 
i_Mobile Testing Service Desk_Own
i_Mobile Testing Service Desk_Owni_Mobile Testing Service Desk_Own
i_Mobile Testing Service Desk_OwnGopi Raghavendra
 
Maven TestNg frame work (1) (1)
Maven TestNg frame work (1) (1)Maven TestNg frame work (1) (1)
Maven TestNg frame work (1) (1)Gopi Raghavendra
 
performancetestingjmeter-121109061704-phpapp02
performancetestingjmeter-121109061704-phpapp02performancetestingjmeter-121109061704-phpapp02
performancetestingjmeter-121109061704-phpapp02Gopi Raghavendra
 
Test_Automation_-_Let's_Talk_Business.ppt
Test_Automation_-_Let's_Talk_Business.pptTest_Automation_-_Let's_Talk_Business.ppt
Test_Automation_-_Let's_Talk_Business.pptGopi Raghavendra
 
All Work Responsibilities in my whole Life-Testing Profession
All Work Responsibilities in my whole  Life-Testing  ProfessionAll Work Responsibilities in my whole  Life-Testing  Profession
All Work Responsibilities in my whole Life-Testing ProfessionGopi Raghavendra
 

More from Gopi Raghavendra (12)

kalyanasundaram,Gopi_tcoepresentation
kalyanasundaram,Gopi_tcoepresentationkalyanasundaram,Gopi_tcoepresentation
kalyanasundaram,Gopi_tcoepresentation
 
Testing Services
Testing ServicesTesting Services
Testing Services
 
Key Measurements For Testers
Key Measurements For TestersKey Measurements For Testers
Key Measurements For Testers
 
i_Mobile Testing Service Desk_Own
i_Mobile Testing Service Desk_Owni_Mobile Testing Service Desk_Own
i_Mobile Testing Service Desk_Own
 
QA Process
QA ProcessQA Process
QA Process
 
Maven TestNg frame work (1) (1)
Maven TestNg frame work (1) (1)Maven TestNg frame work (1) (1)
Maven TestNg frame work (1) (1)
 
Mobile App - Jmeter (1)
Mobile App - Jmeter (1)Mobile App - Jmeter (1)
Mobile App - Jmeter (1)
 
performancetestingjmeter-121109061704-phpapp02
performancetestingjmeter-121109061704-phpapp02performancetestingjmeter-121109061704-phpapp02
performancetestingjmeter-121109061704-phpapp02
 
Test_Automation_-_Let's_Talk_Business.ppt
Test_Automation_-_Let's_Talk_Business.pptTest_Automation_-_Let's_Talk_Business.ppt
Test_Automation_-_Let's_Talk_Business.ppt
 
Sikuli_Demo.pptx
Sikuli_Demo.pptxSikuli_Demo.pptx
Sikuli_Demo.pptx
 
All Work Responsibilities in my whole Life-Testing Profession
All Work Responsibilities in my whole  Life-Testing  ProfessionAll Work Responsibilities in my whole  Life-Testing  Profession
All Work Responsibilities in my whole Life-Testing Profession
 
Load test plan
Load test planLoad test plan
Load test plan
 

Sikuli_Demo(1)

Editor's Notes

  1. Intro Dan Why are we here? Andy requested a full regression of shared desktop Wrote a SD regression suite of function points (links, fields, labels, etc.) in a spreadsheet Spoke to Rudy and he found Sikuli, a bitmap image regocnition tool Installed on our laptops and started a proof of concept (POC), that includes: Robustness and usability of the capture and playback using Sikuli and Python/Jython/Java code Capture assertions that validate function points Report results of script executions, including assertions and script pass/fail Today we will demo the first POC item, capture and playback of automated tool