I recently installed Dogtail, an open source GUI testing tool and automation framework. I downloaded the example script (https://fedorahosted.org/dogtail/browser/examples/gedit-test-utf8-tree-api.py?format=txt) to my computer, but am having trouble getting it work. When I invoke it, I get a message saying:
corey@corey-laptop:~/Desktop/exercise$ ./gedit-test-utf8-tree-api.py
Traceback (most recent call last):
File "./gedit-test-utf8-tree-api.py", line 6, in <module>
from dogtail import tree
File "/home/joe/Desktop/exercise/dogtail.py", line 6, in <module>
from dogtail import tree
ImportError: cannot import name tree
I'm using Ubuntu 10.04. I'm not sure why this won't run or how to fix it. Any ideas?