diff options
author | nags <nags@nags-desktop.(none)> | 2010-03-19 07:19:51 -0700 |
---|---|---|
committer | nags <nags@nags-desktop.(none)> | 2010-03-19 07:19:51 -0700 |
commit | f296eb4500e9e7f8a20e473c486940b695746bc7 (patch) | |
tree | cffdd2dc3a50061717181ed235a834c914786084 | |
parent | 65f23a45e53b304ec9b4c524e122bb3a1a2865fb (diff) |
-rw-r--r-- | python/A11yTestUtils.py | 5 | ||||
-rwxr-xr-x | scripts/evolution-webcal.py | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/python/A11yTestUtils.py b/python/A11yTestUtils.py index a2f7c9f..0f1ba77 100644 --- a/python/A11yTestUtils.py +++ b/python/A11yTestUtils.py @@ -91,6 +91,7 @@ def a11y_scan_window (windowName): f.write ('</tr>') has_label = 0 for obj in objlist: + print obj if hasstate (windowName, obj, state.FOCUSABLE) == 1: if __has_label (windowName, obj) == 0: f.write ('<tr>\n') @@ -147,9 +148,9 @@ def a11y_test_init (programName, argumentList = '', noLaunch = 0, f.write ('<body>\n') if (noLaunch == 0 or noLaunch == None or noLaunch == ''): if (argumentList != '' and argumentList != None and argumentList != 0): - launchapp (programName + ' ' + argumentList, 1) + launchapp (programName + ' ' + argumentList, env = 1) else: - launchapp (programName, 1) + launchapp (programName, env = 1) def a11y_test_shutdown (): f.write ('</body>\n') diff --git a/scripts/evolution-webcal.py b/scripts/evolution-webcal.py index bc278e0..dd00647 100755 --- a/scripts/evolution-webcal.py +++ b/scripts/evolution-webcal.py @@ -22,7 +22,7 @@ window_title = 'Subscribe to Calendar' calendar_url = 'webcal://icalx.com/public/prepgroove/200732NASCAR32Nextel32Cup32Series.ics' -a11y_test_init (program_name, calendar_url, 0, log_name) +a11y_test_init (program_name, [calendar_url], 0, log_name) while (guiexist (window_title) != 1): continue; |