diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-06-29 09:43:58 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-06-29 09:43:58 (GMT) |
commit | ffc4ce1a80f1fb5ce6be1844c90d7009075469df (patch) | |
tree | 473035caff67f7ef50a197da1b32c5adaaf3cabc /tests | |
parent | e47b3760dc0bd235b537c2ba447453b35032f272 (diff) |
Add a simple dogtail test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/shell.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/shell.py b/tests/shell.py new file mode 100644 index 0000000..e6091e8 --- /dev/null +++ b/tests/shell.py @@ -0,0 +1,11 @@ +from dogtail import tree + +shell = tree.root.child(name="sugar-session", roleName="application") + +# Complete the intro screen +done_button = shell.child(name="Done", roleName="push button") +done_button.click() + +# Switch to the home list view +radio_button = shell.child(name="List view", roleName="radio button") +radio_button.click() |