Dogtail is an open source GUI testing tool and automation framework written in Python. It is Linux-based and is packaged with well known GNU/Linux distributions such as Fedora. It uses accessibility technologies (AT-SPI) to communicate with desktop applications. It makes use of accessibility-related metadata to create an in-memory model of the application's GUI elements.
Dogtail works with any application written under GUI framework supporting the AT-SPI accessibility technology. For example GTK+ supports accessibility out of box and other frameworks such as Qt can be made accessible with plugins such as qt-at-spi.