Dogtail: A GUI Test Tool

Slides:



Advertisements
Similar presentations
Getting started Starting the Virtual Machines, utilities, intro to workflows using Trident ADD BUSINESS UNIT/FLAGSHIP NAME Nick Murray| March 2013.
Advertisements

Torque Script IDE plug-in for the Eclipse Platform Team: Matt Cummings and Steven Defriese Mentor: Dr. William Harrison.
Justin Sun Boston DataCon September 14, Overview Why Use Orange? Classification Tree Example Project History Architecture Widgets Demo Resources.
Chapter 2: Exploring the Desktop The Complete Guide to Linux System Administration.
Computer for Health Sciences
Sikuli Ivailo Dinkov QA Engineer PhoneX Team Telerik QA Academy.
© 2012 LogiGear Corporation. All Rights Reserved Robot framework.
Capture and Replay Often used for regression test development –Tool used to capture interactions with the system under test. –Inputs must be captured;
Microsoft Assistive Technology Products Brought to you by... Jill Hartman.
Introduction to ArcGIS for Environmental Scientists Module 3 – GIS Analysis Model Builder.
Graphical User Interface You will be used to using programs that have a graphical user interface (GUI). So far you have been writing programs that have.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design Second Edition by Tony Gaddis.
Programming for GCSE 1.0 Beginning with Python T eaching L ondon C omputing Margaret Derrington KCL Easter 2014.
CSC 1010 Programming for All Lecture 2 Introduction to Python Some material based on material from Marty Stepp, Instructor, University of Washington.
K. Harrison CERN, 22nd September 2004 GANGA: ADA USER INTERFACE - Ganga release status - Job-Options Editor - Python support for AJDL - Job Builder - Python.
Written module activity, Page 16 1.We refer to the physical parts of a computer that we can touch and see as hardware. Examples include the mouse, the.
PowerTalk automatically speaks the text in presentations while you operate PowerPoint as usual. It uses computer speech that comes with Windows XP and.
Written by : Oren Frenkel Intel Confidential ® C CD SDS.
Automated Desktop Testing with Dogtail Ramakrishna “ramki” Reddy.
1 March 12, Testing William Cohen NCSU CSC 591W March 12, 2008.
GNOME Desktop Accessibility Development & Testing Sun Microsystems, Inc. Aug 2010.
How can speech technology be used to help people with disabilities?
Local Alarm Station Data Acquisition, Storage and Visualization for Radiation Portal Monitor (RPM).
Software and Communication Driver, for Multimedia analyzing tools on the CEVA-X Platform. June 2007 Arik Caspi Eyal Gabay.
Progress Apama Fundamentals
Dive Into® Visual Basic 2010 Express
Visual Basic.NET Windows Programming
Section 2.1 Section 2.2 Identify hardware
CST 1101 Problem Solving Using Computers
Leverage your Business with Selenium Automation Testing
Working with Data Blocks and Frames
Working in the Forms Developer Environment
Basic 1960s It was designed to emphasize ease of use. Became widespread on microcomputers It is relatively simple. Will make it easier for people with.
KARDEX Drive
Topics Introduction Hardware and Software How Computers Store Data
KARDEX Drive EWM
Introduction to Computer CC111
PERL.
ATCM 3310 Procedural Animation
Chapter Topics 15.1 Graphical User Interfaces
11.10 Human Computer Interface
Pipeline Execution Environment
How to automatise the grid production - using model builder in ArcGIS
Lawrence Livermore National Laboratory
EyesWeb Mobile Designer and Runtime
1. Introduction to Visual Basic
Fedora QA: What We Do Liam Li & Hurry He.
ATCM 6017 Procedural Animation
Module 1.1 Introduction to computers
Computers Are Your Future
Event Driven Programming
Chapter 2: Operating-System Structures
Chapter 12: Automated data collection methods
Polly Baker Division Director: Data, Mining, and Visualization
Introduction to .NET By : Mr. V. D. Panchal Content :
Topics Introduction Hardware and Software How Computers Store Data
Software.
Introduction to Computer Software
CONTINUOUS INTEGRATION –WHY WE DO IT?
Remote Computing Services Cloud connection Distributed system
Chapter 15: GUI Applications & Event-Driven Programming
A Virtual Implementation of VELA (CLARA)
05 | Desktop Applications
Chapter 1: Programming Basics, Python History and Program Components
Graphical User Interfaces
Dot Net Application PROF. S. LAKSHMANAN, DEPT. OF B. VOC. (SD & SA),
B. Franek SMI++ Framework Knowledge Exchange seminar
Windows Operating System
Visual Basic for Applications: Introduction
EViews Training The Basics: EViews Desktop, Workfiles and Objects Note: Data and Workfiles for examples in this tutorial are: Data: Data.xlsx Results:
Presentation transcript:

Dogtail: A GUI Test Tool William Cohen NCSU CSC 591W March 17, 2008

What is Dogtail? A GUI test tool and automation framework Written in Python Uses Accessibility (a11y) technologies to communicate with desktop applications Dogtail scripts written in Python and executed like any other Python program

Assistive Technology Service Provider Interface (AT-SPI1) Gnome Accessibility Project component Make interface more flexible: Allow visual cues inplace of audio for hearing impaired Allow screen reader and magnification for visually impaired Provides hooks for other access method

Dogtails interface into GUI Dogtail make use of the AT-SPI interface to determine what is on screen Avoid issues “screen scraping”: Issues where mouse should be located Converting pixels back into text GUI application being needs to use AT-SPI Desktop needs to have accessibility enabled

Dogtail Installation Requirement: AT-SPI-enabled desktop Python 2.3 or higher ImageMagick 6.2 or higher rpm-python or python-apt ElementTree for Python pyspi - Python AT-SPI bindings On most distributions Dogtail package should automatically pull in other required packages: yum install dogtail apt-get dogtail Need to turn on assistive technology and restart X

Dogtail Sniff Utility Provides graphical view of AT-SPI information Can expand and collapse view of items

Sniff Demo

Dogtail Recorder Utility Provides an easy way to record operations performed Generates a dogtail python script Resulting script can be saved Script can be modified for various purposes

Recorder Demo

Dogtail Scripts Written in Python Import the needed Dogtail modules Two script flavors: Procedural Object oriented

Running GUI Applications Without Display Some test machines do not have displays (“headless”) Dogtail has ability to run on those machine: Use dogtail-run-headless command

Further Reading http://www.redhat.com/magazine/020jun06/features/dogtail/ http://www.redhat.com/magazine/021jul06/features/dogtail/ http://www.redhat.com/magazine/022aug06/features/dogtail/ http://people.redhat.com/zcerza/dogtail/