GUI automation with Sikuli

3,699 views
3,597 views

Published on

ELAG 2010 Lightning talk about GUI automation with Sikuli

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,699
On SlideShare
0
From Embeds
0
Number of Embeds
7
Actions
Shares
0
Downloads
67
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

GUI automation with Sikuli

  1. 1. GUI automation with Sikuli Ctibor Škuta ELAG 2010, Helsinki, Lightning talk
  2. 2. Our problem • 400 new subject headings picked from 653 MARC field (keyword) of our bibliographic records • … but then we had to change the 653 field with given terms to 650 field (authority subject heading) • Which means for me to fill the same form 400 TIMES only with one different term ELAG 2010, Helsinki, Lightning talk
  3. 3. Other solution • Maybe it could be done automatically? • Aleph administrator: „That‘s not possible.“ ELAG 2010, Helsinki, Lightning talk
  4. 4. Totally different solution • … but maybe we don‘t have to automate the system itself • Maybe we can automate the actual human work (typing, clicking) ELAG 2010, Helsinki, Lightning talk
  5. 5. Our solution = Sikuli • Picture-driven programming tool • Recognizes patterns on graphical output • Multiplatform (code in Java) • Using Jython (Python implementation in Java) ELAG 2010, Helsinki, Lightning talk
  6. 6. Simple example terms = ['"moby is from belgium"', '"moby is not from belgium"'] click( ) time.sleep(5) for term in terms: paste(term) type(Key.ENTER) time.sleep(5) type(Key.BACKSPACE) time.sleep(2) click( ) ELAG 2010, Helsinki, Lightning talk
  7. 7. When to use it? • you want to automate something, but you don‘t have an access to its source • you want to avoid repeating, boring or annoying work ELAG 2010, Helsinki, Lightning talk
  8. 8. Be aware of... • Unexpected behaiviour of your computer (lags – just take your time) • Inconsistent behaiviour of your software ELAG 2010, Helsinki, Lightning talk
  9. 9. Thanks for your attention! ELAG 2010, Helsinki, Lightning talk

×