summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordobey <dobey>2006-09-18 20:23:22 +0000
committerdobey <dobey>2006-09-18 20:23:22 +0000
commitc28ea85e96193f7d33d2deb828643d7be9dc27c7 (patch)
treea3f2dc1abf4062b7987d761ea14bf040c6d5f016
parent4e03668a439dd0c7122fd51fdd073a251d59a9ad (diff)
2006-09-18 Rodney Dawes <dobey@novell.com>
* scripts/gimp.py: Update script to check more dialogs in GIMP, and document a couple LDTP bugs that automating GIMP exposes
-rw-r--r--ChangeLog5
-rwxr-xr-xscripts/gimp.py19
2 files changed, 19 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 96d0e5d..5e1b336 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2006-09-18 Rodney Dawes <dobey@novell.com>
+ * scripts/gimp.py: Update script to check more dialogs in GIMP, and
+ document a couple LDTP bugs that automating GIMP exposes
+
+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
diff --git a/scripts/gimp.py b/scripts/gimp.py
index 93e235b..693c185 100755
--- a/scripts/gimp.py
+++ b/scripts/gimp.py
@@ -31,8 +31,8 @@ a11y_scan_dialog ('dlgScreenShot', 'btnCancel')
selectmenuitem (window_title, 'mnuXtns;mnuModuleManager')
a11y_scan_dialog ('dlgModuleManager', 'btnClose')
-#selectmenuitem (window_title, 'mnuXtns;mnuPluginBrowser')
-#a11y_scan_dialog ('dlgPluginBrowser', 'btnClose')
+selectmenuitem (window_title, 'mnuXtns;mnuPlug-InBrowser')
+a11y_scan_dialog ('dlgPlug-InBrowser', 'btnClose')
selectmenuitem (window_title, 'mnuXtns;mnuProcedureBrowser')
a11y_scan_dialog ('dlgProcedureBrowser', 'btnClose')
@@ -40,13 +40,22 @@ a11y_scan_dialog ('dlgProcedureBrowser', 'btnClose')
selectmenuitem (window_title, 'mnuXtns;mnuUnitEditor')
a11y_scan_dialog ('dlgUnitEditor', 'btnClose')
+# LDTP BUG: Help and Help are the same, and LDTP uses a hash table...
#selectmenuitem (window_title, 'mnuHelp;mnuHelp')
#a11y_scan_dialog ('wndGIMPHelpBrowser', 'btnClose')
-#selectmenuitem (window_title, 'mnuHelp;mnuTipoftheDay')
-#a11y_scan_dialog ('dlgGIMPTipoftheDay', 'btnClose')
+selectmenuitem (window_title, 'mnuHelp;mnuTipoftheDay')
+a11y_scan_dialog ('frmGIMPTipoftheDay', 'btnClose')
-# Close GIMP
+selectmenuitem (window_title, 'mnuXtns;mnuScript-Fu;mnuButtons;mnuRoundButton')
+a11y_scan_dialog ('dlgScript-Fu:RoundButton', 'btnOK')
+
+# LDTP BUG: Need to wait for previous operations to complete
+# GIMP can't run multiple script-fu scripts at the same time
+#selectmenuitem (window_title, 'mnuXtns;mnuScript-Fu;mnuButtons;mnuSimpleBeveledButton')
+#a11y_scan_dialog ('dlgScript-Fu:SimpleBeveledButton', 'btnOK')
+
+# Close GIMP (Should wait for previous operations to complete)
selectmenuitem (window_title, 'mnuFile;mnuQuit')
a11y_test_shutdown ()