Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

GUI test tool and automation framework that uses Accessibility (a11y) technologies to communicate with desktop applications.

Project Description

dogtail is a GUI test tool and automation framework written in Python. It uses Accessibility (a11y) technologies to communicate with desktop applications. dogtail scripts are written in Python and executed like any other Python program.


See NEWS file.


See INSTALL file.


Python bindings for your distribution, e.g. python-apt or rpm-python

PyGObject and GNOME-Python

Applications to test, e.g. from the GNOME desktop:

Xvfb and xinit:


Currently GNOME and GTK+ applications are supported. Thanks to qt-at-spi
KDE4 and QT applications are now available too.

First, enable accessibility support in your GNOME session with:
gsettings set org.gnome.desktop.interface toolkit-accessibility true
This only affects newly-started applications, so you may want to log out and
log back in again.

Then, look at some of the example scripts. Run them, tweak them, write your own.

I suggest starting with, as it's updated the
most often.

If you are using KDE instead, install the 'qt-at-spi' QT plugin and make sure
you QT_ACCESSIBILITY set to 1 throughout your environment (you can put
'export QT_ACCESSIBILITY=1' to your profile file). QT accessibility should
be stable from QT 4.8.3 onward.


Please report any bugs at:



API Documentation:

#dogtail on

Mailing list for users:

Mailing list for developers:

Release History

This version
History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(123.9 kB) Copy SHA256 Hash SHA256
Source None Feb 18, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting