The Hildon Test Automation project uses dogtail to
automate testing
of hildon and gtk widgets and also hildon desktop applications.
We decided to extend the approach of using the tree APIs (did not
focus much on the procedural-way).
What started as writing wrappers for individual applications and
helper-functions took a different turn as we moved along.
A
small class was developed to hold a dogtail node and all the nodes
under it as attributes and some search utilities were
written.
After
some syntactic-sugar-sprinkling, to aid faster development and easier
maintenance, we had the class RNR (rocknrole - as it works on
rolenames).
A few methods have been added to be used with
unittest - some to check states and another to help compare
screenshots of nodes, the last is an extension of utils.screenshots
function from dogtail.