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 gedit-test-utf8-procedural-api.py, as it's updated the
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:
#dogtail on irc.freenode.net
Mailing list for users:
Mailing list for developers:
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.