Skip to content

Commit

Permalink
user group test case
Browse files Browse the repository at this point in the history
git-svn-id: https://dev.abstracture.de/repos/Projects/sas/Hourglass@3687 bfea69f6-0cce-0310-9b16-88a7a1f2502c
  • Loading branch information
sas committed Nov 24, 2008
1 parent d624626 commit 0647d9d
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions Tests/hg_test.py
Expand Up @@ -2,15 +2,12 @@
import time

sysevents = app('System Events')

hg = sysevents.processes['Hourglass']
#hg = app('Hourglass')
#hg.activate()

def close_window():
menubar = hg.menu_bars[1]
menubar.menus['File'].menu_items['Close'].click()
ref = hg.windows['Untitled'].splitter_groups[1] \
.scroll_areas[3].tables[1].rows[1].text_fields[1]

loginwindow = sysevents.processes['loginwindow']
for w in hg.windows():
print w.title()
s = '<string>'
ref.value.set(s)
t = ref.value()
print (s, t, s == t)

0 comments on commit 0647d9d

Please sign in to comment.