Mais conteúdo relacionado
Sikuli
- 1. SIKULI – Picture Driven Automation Test Tool
02/06/2012
NTT DATA Corporation
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. 2
- 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. 3
- 4. What’s New
What’s stop us in legacy tools:
Diversity of devices or platforms
Application complexity
Verification of UI at pixel level
Automation on emulators/simulators
How we over come with Sikuli:
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. 4
- 5. Sikuli Vs QTP
Sikuli QTP
Open source free ware tool Commercial tool from HP
Visual technology to automate and test graphical user
Functional Testing performed based on Object properties
interfaces (GUI) using images
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
It uses API support for automation
API's
Can not automate remote screens.
Can automate the remote screens as well
Apps and QTP should be on the same machine
Difficult to automate emulators/simulators with out
Simulators and emulators can easily automated
proper external vendor add in support ( e.g: Zap Fix)
We can use as a generic way for test automation on Currently platform specific tools available in the market.
multiple platforms. So easy maintenance So maintenance will be difficult
Highly dependent on screen resolution. Do not depend on resolution.
pixel by pixel Image comparisons is possible Accurate Image comparison is not possible.
Copyright © 2012 NTT DATA, Inc. 5
- 6. Limitations
Highly depends on Resolution
Dynamic paths are tricky to automate
No smart identification
Copyright © 2012 NTT DATA, Inc. 6
- 9. Open2test
If Question is can we integrate open2test with Sikuli ?
Answer is “YES”
Answer is
YES
Copyright © 2012 NTT DATA, Inc. 9
- 11. 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
Copyright © 2012 NTT DATA, Inc. 11
- 12. Demo 2 – Video
Start
Step 1. Define some object in Video
Step 2. Play video
Step 3. verify the occurrence of defined object
Stop
Copyright © 2012 NTT DATA, Inc. 12
- 13. Demo 3 – Game
Start
Step 1. Define the Test Condition
Step 2. Start & Play the Game
Step 3. Verify Test Condition
Stop
Copyright © 2012 NTT DATA, Inc. 13
- 14. Copyright © 2012 NTT DATA, Inc. This document contains confidential Company information. Do not disclose it to third parties without permission from the Company.