sikuli
DESCRIPTION
All the credit goes to my friends 1. Sundar Ram Raju 2. Shiva Prasad Raju for knowing me about this tool Thanks to my manager Srinivasa Movva for encouraging me to learn this tool. © Copyright 2009-2010 Sikuli.org • All Rights Reserved with Sikuli orgTRANSCRIPT
Copyright © 2012 NTT DATA, Inc.
02/06/2012NTT DATA Corporation
SIKULI – Picture Driven Automation Test Tool
Copyright © 2012 NTT DATA, Inc. 2
Index
What is Sikuli
What is New in Sikuli by Challenging other tools
Sikuli Vs QTP
Limitations with Sikuli
Sikuli IDE
Sikuli in Eclipse
Open2test
Demo 1 – Application
Demo 2 – Video
Demo 3 – Game
Copyright © 2012 NTT DATA, Inc. 3
What is Sikuli
Sikuli is a visual technology to automate and test graphical user interfaces (GUI) using images
(screenshots)
Sikuli is an open-source research project
Sikuli automates anything you see on the screen without internal API's support
Works on any Technology – Java, .Net Etc
Works on Windows/Linux/Mac OS X /Mobile Devices/VM
Independent of Application ,Technology and Platform
Copyright © 2012 NTT DATA, Inc. 4
What’s New
What’s stop us in legacy tools:
How we over come with Sikuli:
Diversity of devices or platforms Application complexity Verification of UI at pixel level Automation on emulators/simulators
Generic way for Test Automation on Multiple platforms like Windows/Mac/Linux Sikuli is picture driven tool, It captures the images at pixel level for UI verification Can be used to automate emulator as well as devices Automate all the user operations e.g.. Click, type, Drag, Drop, mouse actions etc
Copyright © 2012 NTT DATA, Inc. 5
Sikuli Vs QTP
Open source free ware tool Commercial tool from HP
Visual technology to automate and test graphical user interfaces (GUI) using images
Functional Testing performed based on Object properties
Supports Java, Python Supports VB scripting & Java Scripting
Supports Windows, OS X, Linux, Macintosh Supports only windows platform
We can automate dynamic objects Difficult to automate dynamic objects which are in motion
Automates anything on the screen without using any API's
It uses API support for automation
Can automate the remote screens as well Can not automate remote screens. Apps and QTP should be on the same machine
Simulators and emulators can easily automated Difficult to automate emulators/simulators with out proper external vendor add in support ( e.g: Zap Fix)
We can use as a generic way for test automation on multiple platforms. So easy maintenance
Currently platform specific tools available in the market. So maintenance will be difficult
Highly dependent on screen resolution. pixel by pixel Image comparisons is possible
Do not depend on resolution. Accurate Image comparison is not possible.
Sikuli QTP
Copyright © 2012 NTT DATA, Inc. 6
Limitations
Highly depends on Resolution
Dynamic paths are tricky to automate
No smart identification
Copyright © 2012 NTT DATA, Inc. 7
Sikuli IDE
Copyright © 2012 NTT DATA, Inc. 8
Sikuli in Eclipse
Copyright © 2012 NTT DATA, Inc. 9
Open2test
Answer is “YES”If Question is can we integrate open2test with Sikuli ?
Answer is
YES
Copyright © 2012 NTT DATA, Inc. 10
Open2test
Function Library
Driver Script
Test Case – Key Words
Test Data
Image Library
Test Results
11Copyright © 2012 NTT DATA, Inc.
Demo 1 – Application
Start
Step 1. Read data from External Source: Ex - Excel
Step 2. Substitute the data in Application
Step 3. Verify Check point
Step 4. Send/ Write Results in External Source: Ex - Excel
Stop
12Copyright © 2012 NTT DATA, Inc.
Demo 2 – Video
Start
Step 1. Define some object in Video
Step 2. Play video
Step 3. verify the occurrence of defined object
Stop
13Copyright © 2012 NTT DATA, Inc.
Demo 3 – Game
Start
Step 1. Define the Test Condition
Step 2. Start & Play the Game
Step 3. Verify Test Condition
Stop
This document contains confidential Company information. Do not disclose it to third parties without permission from the Company.Copyright © 2012 NTT DATA, Inc.