Initial commit, very few changes from orca 45. Added xfce4-notification daemon support.
This commit is contained in:
36
test/keystrokes/gtk-demo/role_page_tab.py
Normal file
36
test/keystrokes/gtk-demo/role_page_tab.py
Normal file
@ -0,0 +1,36 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of page tab output."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(KeyComboAction("<Control>f"))
|
||||
sequence.append(TypeAction("Printing"))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(PauseAction(3000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Right Arrow to Page Setup page tab",
|
||||
["BRAILLE LINE: 'gtk-demo application Print dialog Page Setup page tab'",
|
||||
" VISIBLE: 'Page Setup page tab', cursor=1",
|
||||
"SPEECH OUTPUT: 'Page Setup page tab.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Page Setup page tab Where Am I",
|
||||
["BRAILLE LINE: 'gtk-demo application Print dialog Page Setup page tab'",
|
||||
" VISIBLE: 'Page Setup page tab', cursor=1",
|
||||
"SPEECH OUTPUT: 'page tab list.'",
|
||||
"SPEECH OUTPUT: 'Page Setup page tab.'",
|
||||
"SPEECH OUTPUT: '2 of [0-9]'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
Reference in New Issue
Block a user