orca r3624 - in trunk: . test/keystrokes/firefox
- From: joanied svn gnome org
- To: svn-commits-list gnome org
- Subject: orca r3624 - in trunk: . test/keystrokes/firefox
- Date: Sun, 24 Feb 2008 21:27:48 +0000 (GMT)
Author: joanied
Date: Sun Feb 24 21:27:47 2008
New Revision: 3624
URL: http://svn.gnome.org/viewvc/orca?rev=3624&view=rev
Log:
* test/keystrokes/firefox/line_nav_imagemap.py:
test/keystrokes/firefox/label_guess_bugzilla_search.py:
test/keystrokes/firefox/xul_role_entry.py:
test/keystrokes/firefox/html_role_combo_box.py:
test/keystrokes/firefox/xul_role_tree_table.py:
test/keystrokes/firefox/xul_where_am_i_dialog.py:
test/keystrokes/firefox/xul_role_page_tab.py:
test/keystrokes/firefox/html_struct_nav_links.py:
test/keystrokes/firefox/label_guess_entries.py:
Updated regression tests to add some WaitForFocus's which will
hopefully improve test reproducability. Also, the FF guys fixed
a bug which required updated tests. Yea!
Modified:
trunk/ChangeLog
trunk/test/keystrokes/firefox/html_role_combo_box.py
trunk/test/keystrokes/firefox/html_struct_nav_links.py
trunk/test/keystrokes/firefox/label_guess_bugzilla_search.py
trunk/test/keystrokes/firefox/label_guess_entries.py
trunk/test/keystrokes/firefox/line_nav_imagemap.py
trunk/test/keystrokes/firefox/xul_role_entry.py
trunk/test/keystrokes/firefox/xul_role_page_tab.py
trunk/test/keystrokes/firefox/xul_role_tree_table.py
trunk/test/keystrokes/firefox/xul_where_am_i_dialog.py
Modified: trunk/test/keystrokes/firefox/html_role_combo_box.py
==============================================================================
--- trunk/test/keystrokes/firefox/html_role_combo_box.py (original)
+++ trunk/test/keystrokes/firefox/html_role_combo_box.py Sun Feb 24 21:27:47 2008
@@ -45,6 +45,7 @@
#
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Tab"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_COMBO_BOX))
sequence.append(utils.AssertPresentationAction(
"Tab to Severity combo box",
["BRAILLE LINE: 'Severity Link : Severity normal Combo'",
@@ -70,6 +71,7 @@
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Tab"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_COMBO_BOX))
sequence.append(utils.AssertPresentationAction(
"Tab to Priority combo box",
["BRAILLE LINE: 'Priority Link : Normal Combo'",
@@ -84,6 +86,7 @@
#
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Tab"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_COMBO_BOX))
sequence.append(utils.AssertPresentationAction(
"Tab to Resolution combo box",
["BRAILLE LINE: 'FIXED Combo'",
@@ -188,6 +191,7 @@
#
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Tab"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_COMBO_BOX))
sequence.append(utils.AssertPresentationAction(
"Tab",
["BRAILLE LINE: 'Version 2.16 Combo'",
Modified: trunk/test/keystrokes/firefox/html_struct_nav_links.py
==============================================================================
--- trunk/test/keystrokes/firefox/html_struct_nav_links.py (original)
+++ trunk/test/keystrokes/firefox/html_struct_nav_links.py Sun Feb 24 21:27:47 2008
@@ -46,6 +46,7 @@
#
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("u"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_LINK))
sequence.append(utils.AssertPresentationAction(
"u to anchors.html link",
["BRAILLE LINE: 'â anchors.html Link'",
@@ -57,6 +58,7 @@
#
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("u"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_LINK))
sequence.append(utils.AssertPresentationAction(
"u to blockquotes.html link",
["BRAILLE LINE: 'â blockquotes.html Link'",
@@ -68,6 +70,7 @@
#
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("<Shift>u"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_LINK))
sequence.append(utils.AssertPresentationAction(
"shift + u to anchors.html link",
["BRAILLE LINE: 'â anchors.html Link'",
@@ -82,6 +85,7 @@
#
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("<Shift>u"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_LINK))
sequence.append(utils.AssertPresentationAction(
"shift + u wrapping to bottom",
["BRAILLE LINE: 'â textattributes.html Link'",
@@ -94,6 +98,7 @@
#
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("<Shift>u"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_LINK))
sequence.append(utils.AssertPresentationAction(
"shift + u to tables.html",
["BRAILLE LINE: 'â tables.html Link'",
@@ -117,6 +122,7 @@
#
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("u"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_LINK))
sequence.append(utils.AssertPresentationAction(
"u to anchors.html link",
["BRAILLE LINE: 'â anchors.html Link'",
@@ -128,6 +134,7 @@
#
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("u"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_LINK))
sequence.append(utils.AssertPresentationAction(
"u to blockquotes.html link",
["BRAILLE LINE: 'â blockquotes.html Link'",
@@ -151,6 +158,7 @@
#
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("v"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_LINK))
sequence.append(utils.AssertPresentationAction(
"v to blockquotes.html link",
["BRAILLE LINE: 'â blockquotes.html Link'",
@@ -162,6 +170,7 @@
#
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("v"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_LINK))
sequence.append(utils.AssertPresentationAction(
"v to tables.html link",
["BRAILLE LINE: 'â tables.html Link'",
@@ -173,6 +182,7 @@
#
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("v"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_LINK))
sequence.append(utils.AssertPresentationAction(
"v to blockquotes.html link",
["BUG? - We're not speaking the wrapping announcement.",
@@ -187,6 +197,7 @@
#
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("<Shift>v"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_LINK))
sequence.append(utils.AssertPresentationAction(
"shift + v to tables.html link",
["BUG? - We're not speaking the wrapping announcement.",
Modified: trunk/test/keystrokes/firefox/label_guess_bugzilla_search.py
==============================================================================
--- trunk/test/keystrokes/firefox/label_guess_bugzilla_search.py (original)
+++ trunk/test/keystrokes/firefox/label_guess_bugzilla_search.py Sun Feb 24 21:27:47 2008
@@ -47,7 +47,7 @@
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
-sequence.append(PauseAction(500))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_COMBO_BOX))
sequence.append(utils.AssertPresentationAction(
"Next form field",
["BRAILLE LINE: 'Summary: contains all of the words/strings Combo $l Search Button'",
@@ -112,6 +112,7 @@
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_LIST_ITEM))
sequence.append(utils.AssertPresentationAction(
"Next form field",
["BRAILLE LINE: '0.0.1 List'",
@@ -123,6 +124,7 @@
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_LIST_ITEM))
sequence.append(utils.AssertPresentationAction(
"Next form field",
["BRAILLE LINE: '--- List'",
@@ -166,6 +168,7 @@
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_COMBO_BOX))
sequence.append(utils.AssertPresentationAction(
"Next form field",
["BRAILLE LINE: 'Whiteboard: contains all of the words/strings Combo $l'",
@@ -176,6 +179,7 @@
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_COMBO_BOX))
sequence.append(utils.AssertPresentationAction(
"Next form field",
["BRAILLE LINE: 'Keywords Link : contains all of the keywords Combo $l'",
@@ -187,6 +191,7 @@
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_ENTRY))
sequence.append(utils.AssertPresentationAction(
"Next form field",
["BRAILLE LINE: 'Keywords Link : contains all of the keywords Combo $l'",
@@ -197,6 +202,7 @@
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_LIST_ITEM))
sequence.append(utils.AssertPresentationAction(
"Next form field",
["BRAILLE LINE: 'UNCONFIRMED List'",
@@ -208,6 +214,7 @@
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_LIST_ITEM))
sequence.append(utils.AssertPresentationAction(
"Next form field",
["BRAILLE LINE: 'FIXED List'",
@@ -219,6 +226,7 @@
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_LIST_ITEM))
sequence.append(utils.AssertPresentationAction(
"Next form field",
["BRAILLE LINE: 'blocker List'",
@@ -230,6 +238,7 @@
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_LIST_ITEM))
sequence.append(utils.AssertPresentationAction(
"Next form field",
["BRAILLE LINE: 'Immediate List'",
@@ -241,6 +250,7 @@
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_LIST_ITEM))
sequence.append(utils.AssertPresentationAction(
"Next form field",
["BRAILLE LINE: 'All List'",
@@ -302,7 +312,7 @@
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
-sequence.append(PauseAction(500))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_COMBO_BOX))
sequence.append(utils.AssertPresentationAction(
"Next form field",
["BRAILLE LINE: 'contains Combo'",
@@ -314,7 +324,7 @@
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
-sequence.append(PauseAction(500))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_COMBO_BOX))
sequence.append(utils.AssertPresentationAction(
"Next form field",
["BRAILLE LINE: ' $l'",
@@ -375,6 +385,7 @@
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_COMBO_BOX))
sequence.append(utils.AssertPresentationAction(
"Next form field",
["BRAILLE LINE: 'contains Combo'",
@@ -386,7 +397,7 @@
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
-sequence.append(PauseAction(500))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_ENTRY))
sequence.append(utils.AssertPresentationAction(
"Next form field",
["BRAILLE LINE: ' $l'",
@@ -397,6 +408,7 @@
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_COMBO_BOX))
sequence.append(utils.AssertPresentationAction(
"Next form field",
["BRAILLE LINE: 'Only include Combo bugs numbered: $l'",
@@ -408,7 +420,7 @@
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
-sequence.append(PauseAction(500))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_ENTRY))
sequence.append(utils.AssertPresentationAction(
"Next form field",
["BRAILLE LINE: 'Only include Combo bugs numbered: $l'",
@@ -419,6 +431,7 @@
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_ENTRY))
sequence.append(utils.AssertPresentationAction(
"Next form field",
["BRAILLE LINE: ' $l and Now $l '",
@@ -429,6 +442,7 @@
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_ENTRY))
sequence.append(utils.AssertPresentationAction(
"Next form field",
["BRAILLE LINE: ' $l and Now $l '",
@@ -439,6 +453,7 @@
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_LIST_ITEM))
sequence.append(utils.AssertPresentationAction(
"Next form field",
["BRAILLE LINE: '[Bug creation] List'",
@@ -450,6 +465,7 @@
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_ENTRY))
sequence.append(utils.AssertPresentationAction(
"Next form field",
["BRAILLE LINE: ' $l'",
@@ -460,6 +476,7 @@
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_LIST_ITEM))
sequence.append(utils.AssertPresentationAction(
"Next form field",
["BRAILLE LINE: 'Unspecified List'",
@@ -471,6 +488,7 @@
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_LIST_ITEM))
sequence.append(utils.AssertPresentationAction(
"Next form field",
["BRAILLE LINE: 'Unspecified List'",
@@ -482,6 +500,7 @@
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_COMBO_BOX))
sequence.append(utils.AssertPresentationAction(
"Next form field",
["BRAILLE LINE: 'Sort results by: Reuse same sort as last time Combo'",
@@ -523,6 +542,7 @@
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_COMBO_BOX))
sequence.append(utils.AssertPresentationAction(
"Next form field",
["BRAILLE LINE: '--- Combo --- Combo $l Or Button'",
@@ -534,6 +554,7 @@
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_COMBO_BOX))
sequence.append(utils.AssertPresentationAction(
"Next form field",
["BRAILLE LINE: '--- Combo --- Combo $l Or Button'",
Modified: trunk/test/keystrokes/firefox/label_guess_entries.py
==============================================================================
--- trunk/test/keystrokes/firefox/label_guess_entries.py (original)
+++ trunk/test/keystrokes/firefox/label_guess_entries.py Sun Feb 24 21:27:47 2008
@@ -307,6 +307,7 @@
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_ENTRY))
sequence.append(utils.AssertPresentationAction(
"Next form field",
["BRAILLE LINE: ' $l $l $l $l'",
@@ -389,6 +390,7 @@
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
+sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_ENTRY))
sequence.append(utils.AssertPresentationAction(
"Next form field",
["BRAILLE LINE: ' $l $l $l $l'",
Modified: trunk/test/keystrokes/firefox/line_nav_imagemap.py
==============================================================================
--- trunk/test/keystrokes/firefox/line_nav_imagemap.py (original)
+++ trunk/test/keystrokes/firefox/line_nav_imagemap.py Sun Feb 24 21:27:47 2008
@@ -44,6 +44,7 @@
#
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
+sequence.append(PauseAction(1000))
sequence.append(utils.AssertPresentationAction(
"1. line Down",
["BRAILLE LINE: 'Test: z Link y Link x Link w Link v Link u Link t Link s Link r Link q Link p Link o Link n Link m Link l Link k Link j Link i Link h Link g Link f Link e Link d Link c Link b Link a Link'",
Modified: trunk/test/keystrokes/firefox/xul_role_entry.py
==============================================================================
--- trunk/test/keystrokes/firefox/xul_role_entry.py (original)
+++ trunk/test/keystrokes/firefox/xul_role_entry.py Sun Feb 24 21:27:47 2008
@@ -84,34 +84,62 @@
sequence.append(TypeAction("this is a test"))
sequence.append(utils.AssertPresentationAction(
"Type 'this is a test'",
- ["BRAILLE LINE: 'Minefield Application Add Bookmark Dialog t $l'",
+ [ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog t $l'",
+ " VISIBLE: 't $l', cursor=2",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog t $l'",
" VISIBLE: 't $l', cursor=2",
"BRAILLE LINE: 'Minefield Application Add Bookmark Dialog th $l'",
" VISIBLE: 'th $l', cursor=2",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog th $l'",
+ " VISIBLE: 'th $l', cursor=3",
"BRAILLE LINE: 'Minefield Application Add Bookmark Dialog thi $l'",
" VISIBLE: 'thi $l', cursor=3",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog thi $l'",
+ " VISIBLE: 'thi $l', cursor=4",
"BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this $l'",
" VISIBLE: 'this $l', cursor=4",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this $l'",
+ " VISIBLE: 'this $l', cursor=5",
"BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this $l'",
" VISIBLE: 'this $l', cursor=5",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this $l'",
+ " VISIBLE: 'this $l', cursor=6",
"BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this i $l'",
" VISIBLE: 'this i $l', cursor=6",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this i $l'",
+ " VISIBLE: 'this i $l', cursor=7",
"BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is $l'",
" VISIBLE: 'this is $l', cursor=7",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is $l'",
+ " VISIBLE: 'this is $l', cursor=8",
"BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is $l'",
" VISIBLE: 'this is $l', cursor=8",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is $l'",
+ " VISIBLE: 'this is $l', cursor=9",
"BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is a $l'",
" VISIBLE: 'this is a $l', cursor=9",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is a $l'",
+ " VISIBLE: 'this is a $l', cursor=10",
"BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is a $l'",
" VISIBLE: 'this is a $l', cursor=10",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is a $l'",
+ " VISIBLE: 'this is a $l', cursor=11",
"BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is a t $l'",
" VISIBLE: 'this is a t $l', cursor=11",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is a t $l'",
+ " VISIBLE: 'this is a t $l', cursor=12",
"BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is a te $l'",
" VISIBLE: 'this is a te $l', cursor=12",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is a te $l'",
+ " VISIBLE: 'this is a te $l', cursor=13",
"BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is a tes $l'",
" VISIBLE: 'this is a tes $l', cursor=13",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is a tes $l'",
+ " VISIBLE: 'this is a tes $l', cursor=14",
"BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is a test $l'",
- " VISIBLE: 'this is a test $l', cursor=14"]))
+ " VISIBLE: 'this is a test $l', cursor=14",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is a test $l'",
+ " VISIBLE: 'this is a test $l', cursor=15"]))
########################################################################
# Backspace 5 times (thus removing "<space>test" from the right)
@@ -122,7 +150,9 @@
"Backspace",
["BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is a test $l'",
" VISIBLE: 'this is a test $l', cursor=15",
- "SPEECH OUTPUT: 't'",]))
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is a test $l'",
+ " VISIBLE: 'this is a test $l', cursor=14",
+ "SPEECH OUTPUT: 't'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("BackSpace"))
@@ -130,6 +160,8 @@
"Backspace",
["BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is a tes $l'",
" VISIBLE: 'this is a tes $l', cursor=14",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is a tes $l'",
+ " VISIBLE: 'this is a tes $l', cursor=13",
"SPEECH OUTPUT: 's'"]))
sequence.append(utils.StartRecordingAction())
@@ -138,6 +170,8 @@
"Backspace",
["BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is a te $l'",
" VISIBLE: 'this is a te $l', cursor=13",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is a te $l'",
+ " VISIBLE: 'this is a te $l', cursor=12",
"SPEECH OUTPUT: 'e'"]))
sequence.append(utils.StartRecordingAction())
@@ -146,6 +180,8 @@
"Backspace",
["BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is a t $l'",
" VISIBLE: 'this is a t $l', cursor=12",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is a t $l'",
+ " VISIBLE: 'this is a t $l', cursor=11",
"SPEECH OUTPUT: 't'"]))
sequence.append(utils.StartRecordingAction())
@@ -154,6 +190,8 @@
"Backspace",
["BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is a $l'",
" VISIBLE: 'this is a $l', cursor=11",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is a $l'",
+ " VISIBLE: 'this is a $l', cursor=10",
"SPEECH OUTPUT: ' '"]))
########################################################################
@@ -166,7 +204,9 @@
"Control Backspace",
["BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is a $l'",
" VISIBLE: 'this is a $l', cursor=9",
- "SPEECH OUTPUT: 'a'"]))
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is a $l'",
+ " VISIBLE: 'this is a $l', cursor=9",
+ "SPEECH OUTPUT: 'a'"))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("<Control>BackSpace"))
@@ -174,6 +214,8 @@
"Control Backspace",
["BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is $l'",
" VISIBLE: 'this is $l', cursor=6",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this is $l'",
+ " VISIBLE: 'this is $l', cursor=6",
"SPEECH OUTPUT: 'is '"]))
sequence.append(utils.StartRecordingAction())
@@ -182,6 +224,8 @@
"Control Backspace",
["BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this $l'",
" VISIBLE: 'this $l', cursor=1",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this $l'",
+ " VISIBLE: 'this $l', cursor=1",
"SPEECH OUTPUT: 'this '"]))
########################################################################
@@ -193,24 +237,44 @@
"Type 'so is this'",
["BRAILLE LINE: 'Minefield Application Add Bookmark Dialog s $l'",
" VISIBLE: 's $l', cursor=2",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog s $l'",
+ " VISIBLE: 's $l', cursor=2",
"BRAILLE LINE: 'Minefield Application Add Bookmark Dialog so $l'",
" VISIBLE: 'so $l', cursor=2",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog so $l'",
+ " VISIBLE: 'so $l', cursor=3",
"BRAILLE LINE: 'Minefield Application Add Bookmark Dialog so $l'",
" VISIBLE: 'so $l', cursor=3",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog so $l'",
+ " VISIBLE: 'so $l', cursor=4",
"BRAILLE LINE: 'Minefield Application Add Bookmark Dialog so i $l'",
" VISIBLE: 'so i $l', cursor=4",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog so i $l'",
+ " VISIBLE: 'so i $l', cursor=5",
"BRAILLE LINE: 'Minefield Application Add Bookmark Dialog so is $l'",
" VISIBLE: 'so is $l', cursor=5",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog so is $l'",
+ " VISIBLE: 'so is $l', cursor=6",
"BRAILLE LINE: 'Minefield Application Add Bookmark Dialog so is $l'",
" VISIBLE: 'so is $l', cursor=6",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog so is $l'",
+ " VISIBLE: 'so is $l', cursor=7",
"BRAILLE LINE: 'Minefield Application Add Bookmark Dialog so is t $l'",
" VISIBLE: 'so is t $l', cursor=7",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog so is t $l'",
+ " VISIBLE: 'so is t $l', cursor=8",
"BRAILLE LINE: 'Minefield Application Add Bookmark Dialog so is th $l'",
" VISIBLE: 'so is th $l', cursor=8",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog so is th $l'",
+ " VISIBLE: 'so is th $l', cursor=9",
"BRAILLE LINE: 'Minefield Application Add Bookmark Dialog so is thi $l'",
" VISIBLE: 'so is thi $l', cursor=9",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog so is thi $l'",
+ " VISIBLE: 'so is thi $l', cursor=10",
+ "BRAILLE LINE: 'Minefield Application Add Bookmark Dialog so is this $l'",
+ " VISIBLE: 'so is this $l', cursor=10",
"BRAILLE LINE: 'Minefield Application Add Bookmark Dialog so is this $l'",
- " VISIBLE: 'so is this $l', cursor=10"]))
+ " VISIBLE: 'so is this $l', cursor=11"]))
########################################################################
# Press Left Arrow 4 times to get to the beginning of "this"
@@ -219,29 +283,33 @@
sequence.append(KeyComboAction("Left"))
sequence.append(utils.AssertPresentationAction(
"Left",
- ["BUG? - We're not speaking or brailling anything here!",
- ""]))
+ ["BRAILLE LINE: 'Minefield Application Add Bookmark Dialog so is this $l'",
+ " VISIBLE: 'so is this $l', cursor=10",
+ "SPEECH OUTPUT: 's'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Left"))
sequence.append(utils.AssertPresentationAction(
"Left",
- ["BUG? - We're not speaking or brailling anything here!",
- ""]))
+ ["BRAILLE LINE: 'Minefield Application Add Bookmark Dialog so is this $l'",
+ " VISIBLE: 'so is this $l', cursor=9",
+ "SPEECH OUTPUT: 'i'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Left"))
sequence.append(utils.AssertPresentationAction(
"Left",
- ["BUG? - We're not speaking or brailling anything here!",
- ""]))
+ ["BRAILLE LINE: 'Minefield Application Add Bookmark Dialog so is this $l'",
+ " VISIBLE: 'so is this $l', cursor=8",
+ "SPEECH OUTPUT: 'h'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Left"))
sequence.append(utils.AssertPresentationAction(
"Left",
- ["BUG? - We're not speaking or brailling anything here!",
- ""]))
+ ["BRAILLE LINE: 'Minefield Application Add Bookmark Dialog so is this $l'",
+ " VISIBLE: 'so is this $l', cursor=7",
+ "SPEECH OUTPUT: 't'"]))
########################################################################
# Press Control Left Arrow twice to get to the beginning of the
@@ -251,15 +319,17 @@
sequence.append(KeyComboAction("<Control>Left"))
sequence.append(utils.AssertPresentationAction(
"Control Left",
- ["BUG? - We're not speaking or brailling anything here!",
- ""]))
+ ["BRAILLE LINE: 'Minefield Application Add Bookmark Dialog so is this $l'",
+ " VISIBLE: 'so is this $l', cursor=4",
+ "SPEECH OUTPUT: 'is '"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("<Control>Left"))
sequence.append(utils.AssertPresentationAction(
"Control Left",
- ["BUG? - We're not speaking or brailling anything here!",
- ""]))
+ ["BRAILLE LINE: 'Minefield Application Add Bookmark Dialog so is this $l'",
+ " VISIBLE: 'so is this $l', cursor=1",
+ "SPEECH OUTPUT: 'so '"]))
########################################################################
# Press Control Delete twice to get rid of "so is".
@@ -283,52 +353,47 @@
"SPEECH OUTPUT: ' '"]))
########################################################################
-# Press Delete 5 times to delete "<space>this". [[[Note: I don't get
-# why I'm getting the following for the speech and braille. When
-# I perform the test manually, Orca correctly speaks the current
-# character. When I run the test using runone.sh, but with Orca
-# launched first, I also get the expected output. Here it seems to be
-# speaking the character that was just deleted.]]]
+# Press Delete 5 times to delete "<space>this".
#
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Delete", 500))
sequence.append(utils.AssertPresentationAction(
"Delete",
["BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this $l'",
- " VISIBLE: ' this $l', cursor=1",
- "SPEECH OUTPUT: ' '"]))
+ " VISIBLE: ' this $l', cursor=2",
+ "SPEECH OUTPUT: 't'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Delete", 500))
sequence.append(utils.AssertPresentationAction(
"Delete",
["BRAILLE LINE: 'Minefield Application Add Bookmark Dialog this $l'",
- " VISIBLE: 'this $l', cursor=1",
- "SPEECH OUTPUT: 't'"]))
+ " VISIBLE: 'this $l', cursor=2",
+ "SPEECH OUTPUT: 'h'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Delete", 500))
sequence.append(utils.AssertPresentationAction(
"Delete",
["BRAILLE LINE: 'Minefield Application Add Bookmark Dialog his $l'",
- " VISIBLE: 'his $l', cursor=1",
- "SPEECH OUTPUT: 'h'"]))
+ " VISIBLE: 'his $l', cursor=2",
+ "SPEECH OUTPUT: 'i'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Delete", 500))
sequence.append(utils.AssertPresentationAction(
"Delete",
["BRAILLE LINE: 'Minefield Application Add Bookmark Dialog is $l'",
- " VISIBLE: 'is $l', cursor=1",
- "SPEECH OUTPUT: 'i'"]))
+ " VISIBLE: 'is $l', cursor=2",
+ "SPEECH OUTPUT: 's'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Delete", 500))
sequence.append(utils.AssertPresentationAction(
"Delete",
["BRAILLE LINE: 'Minefield Application Add Bookmark Dialog s $l'",
- " VISIBLE: 's $l', cursor=1",
- "SPEECH OUTPUT: 's'"]))
+ " VISIBLE: 's $l', cursor=2",
+ "SPEECH OUTPUT: ''"]))
########################################################################
# Press Tab to get to the Location entry.
Modified: trunk/test/keystrokes/firefox/xul_role_page_tab.py
==============================================================================
--- trunk/test/keystrokes/firefox/xul_role_page_tab.py (original)
+++ trunk/test/keystrokes/firefox/xul_role_page_tab.py Sun Feb 24 21:27:47 2008
@@ -34,7 +34,7 @@
" VISIBLE: 'General Page', cursor=1",
"SPEECH OUTPUT: 'tab list'",
"SPEECH OUTPUT: 'General page'",
- "SPEECH OUTPUT: 'item 1 of 6'",
+ "SPEECH OUTPUT: 'item 1 of 5'",
"SPEECH OUTPUT: ''"]))
########################################################################
@@ -61,7 +61,7 @@
" VISIBLE: 'Page Setup Page', cursor=1",
"SPEECH OUTPUT: 'tab list'",
"SPEECH OUTPUT: 'Page Setup page'",
- "SPEECH OUTPUT: 'item 2 of 6'",
+ "SPEECH OUTPUT: 'item 2 of 5'",
"SPEECH OUTPUT: ''"]))
########################################################################
Modified: trunk/test/keystrokes/firefox/xul_role_tree_table.py
==============================================================================
--- trunk/test/keystrokes/firefox/xul_role_tree_table.py (original)
+++ trunk/test/keystrokes/firefox/xul_role_tree_table.py Sun Feb 24 21:27:47 2008
@@ -67,11 +67,10 @@
"Basic Where Am I",
["BRAILLE LINE: 'Minefield Application Library Frame ScrollPane TreeTable Name ColumnHeader Bookmarks Menu TREE LEVEL 1'",
" VISIBLE: 'Bookmarks Menu TREE LEVEL 1', cursor=1",
- "SPEECH OUTPUT: ''",
+ "SPEECH OUTPUT: 'tree table'",
+ "SPEECH OUTPUT: 'Name'",
"SPEECH OUTPUT: 'cell'",
"SPEECH OUTPUT: 'Bookmarks Menu'",
- "SPEECH OUTPUT: ''",
- "SPEECH OUTPUT: ''",
"SPEECH OUTPUT: 'row 2 of 3'",
"SPEECH OUTPUT: 'tree level 1'"]))
Modified: trunk/test/keystrokes/firefox/xul_where_am_i_dialog.py
==============================================================================
--- trunk/test/keystrokes/firefox/xul_where_am_i_dialog.py (original)
+++ trunk/test/keystrokes/firefox/xul_where_am_i_dialog.py Sun Feb 24 21:27:47 2008
@@ -55,10 +55,10 @@
sequence.append(PauseAction(3000))
sequence.append(utils.AssertPresentationAction(
"Default button",
- ["BRAILLE LINE: 'Minefield Application Print Dialog TabList General Page ScrollPane Table Print to File '",
- " VISIBLE: ' Print to File ', cursor=1",
- "BRAILLE LINE: 'Minefield Application Print Dialog TabList General Page ScrollPane Table Print to File '",
- " VISIBLE: ' Print to File ', cursor=1",
+ ["BRAILLE LINE: 'Minefield Application Print Dialog TabList General Page ScrollPane Table PDF '",
+ " VISIBLE: ' PDF ', cursor=1",
+ "BRAILLE LINE: 'Minefield Application Print Dialog TabList General Page ScrollPane Table PDF '",
+ " VISIBLE: ' PDF ', cursor=1",
"SPEECH OUTPUT: 'Print'",
"SPEECH OUTPUT: 'Default button is Print'"]))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]