“Automate Anything You See” Uses image recognition to identify and control GUI components Useful when there is no easy access to a GUI's internal or source.

Slides:



Advertisements
Similar presentations
Cross Platform UI testing using Sikuli
Advertisements

COMPUTER PROGRAMMING Task 1 LEVEL 6 PROGRAMMING: Be able to use a text based language like Python and JavaScript & correctly use procedures and functions.
Web Toolkit Julie George & Ronald Lopez 1. Requirements  Java SDK version 1.5 or later  Apache Ant is also necessary to run command line arguments 
Pubman and Selenium tests. What is Selenium Selenium is a suite of Web application test automation tools for any browser on any operating system –Firefox,
Using Eclipse. Getting Started There are three ways to create a Java project: 1:Select File > New > Project, 2 Select the arrow of the button in the upper.
Ernest Holston and Brandi Amstutz Mobile Testing Using MonkeyRunner REU Program at ECU "Software Testing - Foundations, Tools, and Applications.
Test Automation Framework Ashesh Jain 2007EE50403 Manager Amit Maheshwari.
Windows 7. Objectives After completing this lesson, you will be able to: oExplain the common functions of an operating system. oIdentify the basic components.
Creating a Program In today’s lesson we will look at: what programming is different types of programs how we create a program installing an IDE to get.
Course Introduction and Getting Started with C 1 USF - COP C for Engineers Summer 2008.
© 2010 IBM Corporation IBM Experience Modeler - Theme Editor Installing Python Image Library Presenter’s Name - Presenter’s Title DD Month Year.
Editing Java programs with the BlueJ IDE. Working environments to develop (= write) programs There are 2 ways to develop (write) computer programs: 1.Using.
PYTHON: LESSON 1 Catherine and Annie. WHAT IS PYTHON ANYWAY?  Python is a programming language.  But what’s a programming language?  It’s a language.
Cosc 5/4730 Scripting layer for Android (SL4A). Android scripting SL4A brings scripting languages to the android, by allowing you edit and execute scripts.
The Blue “W” is placed on your Desktop or in your system tray area.
COMP1070/2002/lec3/H.Melikian COMP1070 Lecture #3 v Operating Systems v Describe briefly operating systems service v To describe character and graphical.
Sikuli Ivailo Dinkov QA Engineer PhoneX Team Telerik QA Academy.
Software Quality Assurance QA Engineering, Testing, Bug Tracking, Test Automation Software University Technical Trainers SoftUni Team.
Streaming Twitter. Install pycurl library Use a lab computer From the course website Download the links from pycurl and twitter streamer Extract site-packages.zip,
© 2012 LogiGear Corporation. All Rights Reserved Robot framework.
General Computer Science for Engineers CISC 106 Lecture 02 Dr. John Cavazos Computer and Information Sciences 09/03/2010.
David Streader Computer Science Victoria University of Wellington Copyright: David Streader, Victoria University of Wellington GUI and the UI API COMP.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming 1.
Arc: AddIns Dr Andy Evans. Java Direct access to ArcObjects Framework inside and outside Arc. Ability to add components to the GUI. Ability to communicate.
Introduction to Programming Peggy Batchelor.
Shell Scripting Introduction. Agenda What is Shell Scripting? Why use Shell Scripting? Writing and Running a Shell Script Basic Commands -ECHO - REM.
Upload or Embed JING videos to Screencast Blackboard YouTube Wiki By C. Candace Chou JING video tutorial: Revised.
 We are going to learn about programming in general…How to think logically and problem solve. The programming language we will use is Python. This is.
Python – Part 1 Python Programming Language 1. What is Python? High-level language Interpreted – easy to test and use interactively Object-oriented Open-source.
Move the mouse to the IE icon on the Quick Launch Bar and click to cut a small picture. This small picture is for locating the position of IE Quick Launch.
Ch 1. A Python Q&A Session Spring Why do people use Python? Software quality Developer productivity Program portability Support libraries Component.
Before we start…Getting Started. UST Outline History Getting Started Basic commands (command line) Operations on Files and Directories Input and Output.
Make a blank window This is a starter activity and should take 5 minutes [ slide 1 ] 1.Log in to your computer 2.Open IDLE 3.In script mode create a file.
Class 1: What this course is about. Assignment Read: Chapter 1 Read: Chapter 1 Do: Chapter 1 ‘workbook’ pages not finished in class Do: Chapter 1 ‘workbook’
UNIT 7 Describing how an item functions [2] (infinitive with or without ‘to’)
Pubman and Selenium tests. What is Selenium Selenium is a suite of Web application test automation tools for any browser on any operating system –Firefox,
1 Getting Started with C++. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Visual Studio 2008.
I Power Higher Computing Software Development Development Languages and Environments.
Chapter Three The UNIX Editors.
IDLE An IDE for Python bundled with the program release Click on IDLE (Python GUI) in the Start menu under the Python program group  Get the IDLE Python.
Session 11 Intro to FRC API.
Trinity College Dublin, The University of Dublin GE3M25: Computer Programming for Biologists Python Karsten Hokamp, PhD Genetics TCD, 03/11/2015.
Ch 1. A Python Q&A Session. Why do people use Python? Software Quality Developer productivity Program portability Support Libraries Component integration.
Plug-in Architectures Presented by Truc Nguyen. What’s a plug-in? “a type of program that tightly integrates with a larger application to add a special.
A script free GUI Automation Framework using Sikuli Nikhil K R
CSC 1010 Programming for All Lecture 2 Introduction to Python Some material based on material from Marty Stepp, Instructor, University of Washington.
Copy of the from the secure website - click on the AccoridaLife.zip link.
INFORMATION SYSTEM – SOFTWARE TOPIC: GRAPHICAL USER INTERFACE.
Practical Kinetics Exercise 0: Getting Started Objectives: 1.Install Python and IPython Notebook 2.print “Hello World!”
ScriptOnce™ & Best Practices. Agenda 2 Automation that works ScriptOnce –Minimal maintenance –Easy to add devices Robustness –Reliable Scripts - Minimize.
1 Mapping a Drive on a USF IIS Server. 2 Mapping a Drive To map a drive to a network file directory in Windows you must be on a Microsoft local area network,
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
Reset Windows 10 Forgotten Local Admin Password. Just take it easy, if you’ve forgotten Windows 10 local admin password and can’t log onto your PC. Here.
12-Jun-16 Event loops. 2 Programming in prehistoric times Earliest programs were all “batch” processing There was no interaction with the user Input Output.
The CPU is the brain of the computer
Event loops 16-Jun-18.
Instructor Name Instructor Title Library Name
Software Development Jar Files for Applications and Libraries
Automation with Gwen Introduction.
Windows 7                      .
Event loops.
Test Automation For Web-Based Applications
Event loops 17-Jan-19.
Event loops 17-Jan-19.
Event loops 8-Apr-19.
Scripts In Matlab.
Event loops.
General Computer Science for Engineers CISC 106 Lecture 03
Event loops.
Event loops 19-Aug-19.
Presentation transcript:

“Automate Anything You See” Uses image recognition to identify and control GUI components Useful when there is no easy access to a GUI's internal or source code. “God’s eye”

How Sikuli Works? Simple and clear function calls with image file names as parameters. Determines the position of GUI elements by taking a screenshot and matches the image using open source computer vision algorithm. Once the position is known, Sikuli creates keyboard and mouse events.

Sikuli IDE- Hello World Example Opens up a command line prompt by clicking the “start” icon and typing “cmd + ENTER”. Uses sikuli IDE Key functions: – click(), wait(), type(), *sleep()

How Sikuli Works? --- More Detail Sikuli scripts are organized in “.sikuli folders” – The folder contains images (.png) we would like the scripts to use and a Python source file (.py) Sikuli is really a Jython and Java library. – sikuli-java.jar, sikuli-ide.jar – The.py file is extended by the java library; then interpreted and executed in JRE with the image resources

How Sikuli Works? --- More Detail

How Sikuli Works? ---At a Lower Level Java.awt.Robot – Delivers mouse and keyboard event to appropiate location C++ Engine and OpenCV – Searches the given image pattern on screen C++ is connected to Java via JNI Jython API on top of all these to create a set of simple and clear functions

Run Sikuli in command line > runIDE.cmd –r Allows you to execute without opening the editor. Can specify additional command line arguments with --args

How to Write Sikuli A slightly more complicated example: Open up the chrome browser and log on to some website? (any suggestions? I don’t really want to show the password so anything that’s not important) Key functions: – click(), wait(), exist(), type(), *sleep() – offset – App.open(), App.close()

Summary Sikuli Script is a Jython and Java library that automates GUI interaction using image patterns to direct keyboard/mouse events. Mostly used as automated test tools for GUI components