summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/A11yTestUtils.py5
-rwxr-xr-xscripts/evolution-webcal.py2
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;