From ffc4ce1a80f1fb5ce6be1844c90d7009075469df Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Fri, 29 Jun 2012 09:43:58 +0000 Subject: Add a simple dogtail test --- (limited to 'tests') 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() -- cgit v0.9.1