cthulhu/test/keystrokes/firefox/say_all_role_combo_box.py

40 lines
1.1 KiB
Python

#!/usr/bin/python
"""Test of sayAll."""
from macaroon.playback import *
import utils
sequence = MacroSequence()
#sequence.append(WaitForDocLoad())
sequence.append(PauseAction(5000))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("KP_Add"))
sequence.append(utils.AssertPresentationAction(
"1. KP_Add to do a SayAll",
["SPEECH OUTPUT: 'Severity'",
"SPEECH OUTPUT: 'link'",
"SPEECH OUTPUT: ':'",
"SPEECH OUTPUT: 'Severity'",
"SPEECH OUTPUT: 'normal'",
"SPEECH OUTPUT: 'combo box'",
"SPEECH OUTPUT: 'Priority'",
"SPEECH OUTPUT: 'link'",
"SPEECH OUTPUT: ':'",
"SPEECH OUTPUT: 'Normal'",
"SPEECH OUTPUT: 'combo box'",
"SPEECH OUTPUT: 'Resolution:'",
"SPEECH OUTPUT: 'FIXED'",
"SPEECH OUTPUT: 'combo box'",
"SPEECH OUTPUT: 'Version'",
"SPEECH OUTPUT: '2.16'",
"SPEECH OUTPUT: 'combo box'",
"SPEECH OUTPUT: 'Component'",
"SPEECH OUTPUT: 'Speech'",
"SPEECH OUTPUT: 'combo box'"]))
sequence.append(utils.AssertionSummaryAction())
sequence.start()