présentation sikulix
TRANSCRIPT
![Page 1: Présentation SikuliX](https://reader031.vdocuments.fr/reader031/viewer/2022030223/5882267a1a28ab52368b511f/html5/thumbnails/1.jpg)
20/10/2015 Paris Software Craftsmanship - Simon Guimezanes
SikuliX
Simon [email protected]@guimezanes
![Page 2: Présentation SikuliX](https://reader031.vdocuments.fr/reader031/viewer/2022030223/5882267a1a28ab52368b511f/html5/thumbnails/2.jpg)
20/10/2015 Paris Software Craftsmanship - Simon Guimezanes
Why ?● Automatisation de tâches
longues / répétitives– Tests / Admin
– (Growth)hacking
● Selenium fail :– Clients lourds
– Clients enrichis
– HTML « sale »
![Page 3: Présentation SikuliX](https://reader031.vdocuments.fr/reader031/viewer/2022030223/5882267a1a28ab52368b511f/html5/thumbnails/3.jpg)
20/10/2015 Paris Software Craftsmanship - Simon Guimezanes
SikuliX● 2009 : Développé par le MIT (Sikuli)● Framework d'automatisation visuel ● Utilise l'écran, la souris et le clavier● Open source (MIT)● 2012 : Repris par Raimund Hocke
a.k.a. RaiMan
![Page 4: Présentation SikuliX](https://reader031.vdocuments.fr/reader031/viewer/2022030223/5882267a1a28ab52368b511f/html5/thumbnails/4.jpg)
20/10/2015 Paris Software Craftsmanship - Simon Guimezanes
SikuliX● WYSIWYG / API
● Langages :– Java + J.A. (API)
– Ruby (Scripts, JRuby)
– Python (Scripts, Jython)
● Intégré Selenium & Robot
![Page 5: Présentation SikuliX](https://reader031.vdocuments.fr/reader031/viewer/2022030223/5882267a1a28ab52368b511f/html5/thumbnails/5.jpg)
20/10/2015 Paris Software Craftsmanship - Simon Guimezanes
Where it shines● « Tout terrain »● Simple d'utilisation● Approximation des images● Support et documentation
![Page 6: Présentation SikuliX](https://reader031.vdocuments.fr/reader031/viewer/2022030223/5882267a1a28ab52368b511f/html5/thumbnails/6.jpg)
20/10/2015 Paris Software Craftsmanship - Simon Guimezanes
Where it sucks● Très dépendant de l'appareil● Monopolise● Retina HS● Headless non supporté● QWERTY● Mobiles non supportés
(mais Bluestack OK)
![Page 7: Présentation SikuliX](https://reader031.vdocuments.fr/reader031/viewer/2022030223/5882267a1a28ab52368b511f/html5/thumbnails/7.jpg)
20/10/2015 Paris Software Craftsmanship - Simon Guimezanes
Démo API
![Page 8: Présentation SikuliX](https://reader031.vdocuments.fr/reader031/viewer/2022030223/5882267a1a28ab52368b511f/html5/thumbnails/8.jpg)
20/10/2015 Paris Software Craftsmanship - Simon Guimezanes
CodeScreen screen = new Screen();
//Click on Start Menu
screen.click("images/win.PNG");
//Launch Notes
screen.paste("note");
Thread.sleep(1000);
screen.type(Key.ENTER);
Thread.sleep(1000);
//Hello world
screen.type("Kill all humans"); //Type text
screen.type(Key.ENTER); //Type Key
screen.paste(" Bender Bending Rodriguez"); //Paste text