diff options
author | dobey <dobey> | 2006-09-18 18:15:35 +0000 |
---|---|---|
committer | dobey <dobey> | 2006-09-18 18:15:35 +0000 |
commit | f019bd809931641c095dcd4b99ca083b884a953f (patch) | |
tree | bbd317e76019e272804b82d34e67d083bd8a5a92 | |
parent | 2d8a23f6e3dd97350a4eaca6ae4209f20d9e5278 (diff) |
2006-09-18 Rodney Dawes <dobey@novell.com>
* python/A11yTestUtils.py (__print_properties): Always convert the
componentName to utf8 and write out the utf8 to the HTML log
* scripts/banshee.py: Update the banshee script to be more complete
and to go through all the dialogs
* scripts/gedit.py: Scan the about box as well
* scripts/realplay.py: Scan the about box as well, and fix the
window_title to not conflict with the about box title
-rw-r--r-- | ChangeLog | 13 | ||||
-rw-r--r-- | python/A11yTestUtils.py | 3 | ||||
-rwxr-xr-x | scripts/banshee.py | 22 | ||||
-rwxr-xr-x | scripts/gedit.py | 3 | ||||
-rwxr-xr-x | scripts/realplay.py | 5 |
5 files changed, 42 insertions, 4 deletions
@@ -1,3 +1,16 @@ +2006-09-18 Rodney Dawes <dobey@novell.com> + + * python/A11yTestUtils.py (__print_properties): Always convert the + componentName to utf8 and write out the utf8 to the HTML log + + * scripts/banshee.py: Update the banshee script to be more complete + and to go through all the dialogs + + * scripts/gedit.py: Scan the about box as well + + * scripts/realplay.py: Scan the about box as well, and fix the + window_title to not conflict with the about box title + 2006-09-07 Rodney Dawes <dobey@novell.com> * configure.ac: Up version to 2.15.0 for release (gnome 2.16 target) diff --git a/python/A11yTestUtils.py b/python/A11yTestUtils.py index 0fbd9da..26630a3 100644 --- a/python/A11yTestUtils.py +++ b/python/A11yTestUtils.py @@ -48,9 +48,10 @@ def __has_description (windowName, componentName): return 0 def __print_properties (errorString, windowName, componentName): + utfname = componentName.encode ('utf8') properties = getobjectinfo (windowName, componentName) f.write ('<td>' + errorString + '</td>\n') - f.write ('<td class=\"widgetname\">' + componentName + '</td>\n') + f.write ('<td class=\"widgetname\">' + utfname + '</td>\n') propValue = getobjectproperty (windowName, componentName, 'class') f.write ('<td>' + propValue + '</td>\n') propValue = getobjectproperty (windowName, componentName, 'parent') diff --git a/scripts/banshee.py b/scripts/banshee.py index eeb46d6..2211b22 100755 --- a/scripts/banshee.py +++ b/scripts/banshee.py @@ -6,15 +6,33 @@ from ldtputils import * from A11yTestUtils import * program_name = 'banshee' -window_title = '*Banshee*' +window_title = '*Banshee Music Player' a11y_test_init (program_name) guiexist (window_title) a11y_scan_window (window_title) +selectmenuitem (window_title, 'mnuMusic;mnuImportMusic') +a11y_scan_dialog ('dlgImportMusictoLibrary', 'btnCancel') + +selectmenuitem (window_title, 'mnuMusic;mnuOpenLocation') +a11y_scan_dialog ('dlgOpenLocation', 'btnCancel') + +selectmenuitem (window_title, 'mnuEdit;mnuPlugins') +a11y_scan_dialog ('dlgBansheePlugins', 'btnClose') + selectmenuitem (window_title, 'mnuEdit;mnuPreferences') -a11y_scan_dialog ('*Preferences', 'btnClose') +a11y_scan_dialog ('*Preferences', 'btnCancel') + +selectmenuitem (window_title, 'mnuView;mnuColumns') +a11y_scan_dialog ('*ChooseColumns', 'btnClose') + +selectmenuitem (window_title, 'mnuView;mnuLoggedEventsViewer') +a11y_scan_dialog ('*LogViewer', 'btnClose') + +selectmenuitem (window_title, 'mnuHelp;mnuVersionInformation') +a11y_scan_dialog ('*AssemblyVersionInformation', 'btnClose') selectmenuitem (window_title, 'mnuMusic;mnuQuit') diff --git a/scripts/gedit.py b/scripts/gedit.py index 0117fee..992d20a 100755 --- a/scripts/gedit.py +++ b/scripts/gedit.py @@ -43,6 +43,9 @@ a11y_scan_dialog ('*anguage', 'btnCancel') selectmenuitem (window_title, 'mnuTools;mnuDocumentStatistics') a11y_scan_dialog ('*Statistics', 'btnClose') +selectmenuitem (window_title, 'mnuHelp;mnuAbout') +a11y_scan_dialog ('dlgAboutgedit', 'btnClose') + # Close the app selectmenuitem (window_title, 'mnuFile;mnuQuit') diff --git a/scripts/realplay.py b/scripts/realplay.py index eaec29d..c0ee770 100755 --- a/scripts/realplay.py +++ b/scripts/realplay.py @@ -9,7 +9,7 @@ os.environ['GTK_MODULES'] = 'gail:atk-bridge' os.environ['GNOME_ACCESSIBILITY'] = '1' program_name = 'realplay' -window_title = '*RealPlayer' +window_title = 'RealPlayer' a11y_test_init (program_name) a11y_scan_window (window_title) @@ -35,6 +35,9 @@ a11y_scan_dialog ('*Statistics', 'btnClose') selectmenuitem (window_title, 'mnuFavorites;mnuManageFavorites') a11y_scan_dialog ('*Favorites', 'btnClose') +selectmenuitem (window_title, 'mnuHelp;mnuAbout') +a11y_scan_dialog ('dlgAboutRealPlayer', 'btnClose') + selectmenuitem (window_title, 'mnuFile;mnuQuit') a11y_test_shutdown () |