Skip to main content

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:

Project details

Download files

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

Files for dogtail, version 0.9.9
Filename, size File type Python version Upload date Hashes
Filename, size dogtail-0.9.9.tar.gz (123.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page