Dogtail
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 (like 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.
Read more about Dogtail.