Sample Test Cases

From ReliSourceWiki

(Difference between revisions)
Jump to: navigation, search
Line 44: Line 44:
{| {{table}}
{| {{table}}
-
| align="center" style="background:#f0f0f0;"|'''Test Case Name'''
+
| align="center" style="background:#a2c093;"|'''Test Case Name'''
-
| align="center" style="background:#f0f0f0;"|'''Remove cashbox'''
+
| align="center" style="background:#a2c093;"|'''Remove cashbox'''
-
| align="center" style="background:#f0f0f0;"|''''''
+
| align="center" style="background:#a2c093;"|''''''
-
| align="center" style="background:#f0f0f0;"|''''''
+
| align="center" style="background:#a2c093;"|''''''
-
|-
+
|- style="background:#c2ebae;"
| Phase 0||Wait for Idle||||
| Phase 0||Wait for Idle||||
|-
|-
Line 56: Line 56:
|-
|-
| Trigger Timeout||Wait 10s||Next phase ||FAIL
| Trigger Timeout||Wait 10s||Next phase ||FAIL
-
|-
+
|- style="background:#c2ebae;"
| Phase 1||Idle||||
| Phase 1||Idle||||
|-
|-
-
| User prompt||\"Remove the cashbox\"||||
+
| User prompt||"Remove the cashbox"||||
|-
|-
| OPM||Standard poll AND Escrow checkbox||||
| OPM||Standard poll AND Escrow checkbox||||
Line 66: Line 66:
|-
|-
| Trigger Timeout||Wait 20s||Next phase||FAIL
| Trigger Timeout||Wait 20s||Next phase||FAIL
-
|-
+
|- style="background:#c2ebae;"
| Phase 2||Verify Removed||||
| Phase 2||Verify Removed||||
|-
|-
-
| User prompt||\"Is the yellow LED on?\"  Yes or No buttons.||||
+
| User prompt||"Is the yellow LED on?"  Yes or No buttons.||||
|-
|-
| OPM||Standard poll AND Escrow checkbox||||
| OPM||Standard poll AND Escrow checkbox||||
Line 82: Line 82:
{| {{table}}
{| {{table}}
-
| align="center" style="background:#f0f0f0;"|'''Test Case Name'''
+
| align="center" style="background:#a2c093;"|'''Test Case Name'''
-
| align="center" style="background:#f0f0f0;"|'''Stack extended note'''
+
| align="center" style="background:#a2c093;"|'''Stack extended note'''
-
| align="center" style="background:#f0f0f0;"|''''''
+
| align="center" style="background:#a2c093;"|''''''
-
| align="center" style="background:#f0f0f0;"|''''''
+
| align="center" style="background:#a2c093;"|''''''
-
|-
+
|- style="background:#c2ebae;"
| Phase 0||Wait for Idle||||
| Phase 0||Wait for Idle||||
-
|-
+
|-  
| OPM||Standard poll AND Escrow checkbox||||
| OPM||Standard poll AND Escrow checkbox||||
|-
|-
Line 94: Line 94:
|-
|-
| Trigger Timeout||Wait 10s||Next phase ||FAIL
| Trigger Timeout||Wait 10s||Next phase ||FAIL
-
|-
+
|- style="background:#c2ebae;"
| Phase 1||Idle||||
| Phase 1||Idle||||
|-
|-
-
| User prompt||\"Feed a $5 note\"||||
+
| User prompt||"Feed a $5 note"||||
|-
|-
| OPM||Standard poll AND extended note checkbox AND Escrow checkbox||||
| OPM||Standard poll AND extended note checkbox AND Escrow checkbox||||
Line 104: Line 104:
|-
|-
| Trigger Timeout||Wait 20s.  Remove prompt.||Next phase||FAIL
| Trigger Timeout||Wait 20s.  Remove prompt.||Next phase||FAIL
-
|-
+
|- style="background:#c2ebae;"
| Phase 2||Escrow||||
| Phase 2||Escrow||||
|-
|-
| OPM||Standard poll AND extended note checkbox AND stack checkbox AND Escrow checkbox||||
| OPM||Standard poll AND extended note checkbox AND stack checkbox AND Escrow checkbox||||
|-
|-
-
| Trigger IMF||Escrow bit AND extended type 7 subtype 2 message with ASCII data \"USD005\".||Next Phase||Note Acceptance
+
| Trigger IMF||Escrow bit AND extended type 7 subtype 2 message with ASCII data "USD005".||Next Phase||Note Acceptance
|-
|-
| Trigger Timeout||Wait 10s||Next phase||FAIL
| Trigger Timeout||Wait 10s||Next phase||FAIL
-
|-
+
|- style="background:#c2ebae;"
| Phase 3||Note Acceptance||||
| Phase 3||Note Acceptance||||
|-
|-
| OPM||Standard poll AND extended note checkbox AND Escrow checkbox||||
| OPM||Standard poll AND extended note checkbox AND Escrow checkbox||||
|-
|-
-
| Trigger IMF||Stacked AND Idle bits AND extended type 7 subtype 2 message with ASCII data \"USD005\".||Next phase||PASS
+
| Trigger IMF||Stacked AND Idle bits AND extended type 7 subtype 2 message with ASCII data "USD005".||Next phase||PASS
|-
|-
| Trigger Timeout||Wait 5s||Next phase||FAIL
| Trigger Timeout||Wait 5s||Next phase||FAIL
Line 126: Line 126:
{| {{table}}
{| {{table}}
-
| align="center" style="background:#f0f0f0;"|'''Test Case Name'''
+
| align="center" style="background:#a2c093;"|'''Test Case Name'''
-
| align="center" style="background:#f0f0f0;"|'''Return standard note'''
+
| align="center" style="background:#a2c093;"|'''Return standard note'''
-
| align="center" style="background:#f0f0f0;"|''''''
+
| align="center" style="background:#a2c093;"|''''''
-
| align="center" style="background:#f0f0f0;"|''''''
+
| align="center" style="background:#a2c093;"|''''''
-
|-
+
|- style="background:#c2ebae;"
| Phase 0||Wait for Idle||||
| Phase 0||Wait for Idle||||
|-
|-
Line 138: Line 138:
|-
|-
| Trigger Timeout||Wait 10s||Next phase ||FAIL
| Trigger Timeout||Wait 10s||Next phase ||FAIL
-
|-
+
|- style="background:#c2ebae;"
| Phase 1||Idle||||
| Phase 1||Idle||||
|-
|-
-
| User prompt||\"Feed a $5 note\"||||
+
| User prompt||"Feed a $5 note"||||
|-
|-
| OPM||Standard poll AND Escrow checkbox||||
| OPM||Standard poll AND Escrow checkbox||||
Line 148: Line 148:
|-
|-
| Trigger Timeout||Wait 20s||Next phase||FAIL
| Trigger Timeout||Wait 20s||Next phase||FAIL
-
|-
+
|- style="background:#c2ebae;"
| Phase 2||Escrow||||
| Phase 2||Escrow||||
|-
|-
Line 156: Line 156:
|-
|-
| Trigger Timeout||Wait 10s||Next phase||FAIL
| Trigger Timeout||Wait 10s||Next phase||FAIL
-
|-
+
|- style="background:#c2ebae;"
| Phase 3||Note Returning||||
| Phase 3||Note Returning||||
|-
|-
Line 164: Line 164:
|-
|-
| Trigger Timeout||Wait 10s||Next phase||FAIL
| Trigger Timeout||Wait 10s||Next phase||FAIL
-
|-
+
|- style="background:#c2ebae;"
| Phase 4||Verify Return||||
| Phase 4||Verify Return||||
|-
|-
-
| User prompt||\"Was a $5 note returned\"  Yes or No buttons.||||
+
| User prompt||"Was a $5 note returned"  Yes or No buttons.||||
|-
|-
| OPM||Standard poll AND Escrow checkbox||||
| OPM||Standard poll AND Escrow checkbox||||
Line 180: Line 180:
{| {{table}}
{| {{table}}
-
| align="center" style="background:#f0f0f0;"|'''Test Case Name'''
+
| align="center" style="background:#a2c093;"|'''Test Case Name'''
-
| align="center" style="background:#f0f0f0;"|'''Request Application Software Version'''
+
| align="center" style="background:#a2c093;"|'''Request Application Software Version'''
-
| align="center" style="background:#f0f0f0;"|''''''
+
| align="center" style="background:#a2c093;"|''''''
-
| align="center" style="background:#f0f0f0;"|''''''
+
| align="center" style="background:#a2c093;"|''''''
-
|-
+
|- style="background:#c2ebae;"
| Phase 0||Wait for Idle||||
| Phase 0||Wait for Idle||||
|-
|-
Line 192: Line 192:
|-
|-
| Trigger Timeout||Wait 10s||Next phase ||FAIL
| Trigger Timeout||Wait 10s||Next phase ||FAIL
-
|-
+
|- style="background:#c2ebae;"
| Phase 1||Idle||||
| Phase 1||Idle||||
|-
|-
Line 198: Line 198:
|-
|-
| Trigger IMF||Extended type 6 AND data0 byte 0x0 AND data1 byte 0x0 AND 9 ASCII data bytes that match user configured application software part number.||Next phase||PASS
| Trigger IMF||Extended type 6 AND data0 byte 0x0 AND data1 byte 0x0 AND 9 ASCII data bytes that match user configured application software part number.||Next phase||PASS
-
|-
+
|- style="background:#c2ebae;"
| Trigger Timeout||Wait 20s||Next phase||FAIL
| Trigger Timeout||Wait 20s||Next phase||FAIL
|-
|-
|  
|  
|}
|}

Revision as of 08:20, 22 July 2011

Test Case Name Stack standard note
Phase 0Wait for Idle
OPMStandard poll AND Escrow checkbox
Trigger IMFIdle and LRC bit on.Next phaseIdle
Trigger TimeoutWait 10sNext phase FAIL
Phase 1Idle
User prompt"Feed a $5 note"
OPMStandard poll AND Escrow checkbox
Trigger IMFEscrow bit AND note index 3. Remove prompt.Next phaseEscrow
Trigger TimeoutWait 20sNext phaseFAIL
Phase 2Escrow
OPMStandard poll AND stack checkbox.
Trigger IMFEscrow bit AND note index 3Next PhaseNote Acceptance
Trigger TimeoutWait 10sNext phaseFAIL
Phase 3Note Acceptance
OPMStandard poll AND Escrow checkbox
Trigger IMFStacked AND Idle bits AND note index 3Next phasePASS
Trigger TimeoutWait 5sNext phaseFAIL


Test Case Name Remove cashbox ' '
Phase 0Wait for Idle
OPMStandard poll AND Escrow checkbox
Trigger IMFIdle and LRC bit on.Next phaseIdle
Trigger TimeoutWait 10sNext phase FAIL
Phase 1Idle
User prompt"Remove the cashbox"
OPMStandard poll AND Escrow checkbox
Trigger IMFLRC bit off. Remove prompt.Next phaseVerify Removed
Trigger TimeoutWait 20sNext phaseFAIL
Phase 2Verify Removed
User prompt"Is the yellow LED on?" Yes or No buttons.
OPMStandard poll AND Escrow checkbox
Trigger ManualYes button pressed. Remove prompt.Next phasePASS
Trigger ManualNo button pressed. Remove prompt.Next phaseFAIL


Test Case Name Stack extended note ' '
Phase 0Wait for Idle
OPMStandard poll AND Escrow checkbox
Trigger IMFIdle and LRC bit on.Next phaseIdle
Trigger TimeoutWait 10sNext phase FAIL
Phase 1Idle
User prompt"Feed a $5 note"
OPMStandard poll AND extended note checkbox AND Escrow checkbox
Trigger IMFEscrow bit AND extended type 7 subtype 2 message with ASCII data \"USD005\". Remove prompt.Next phaseEscrow
Trigger TimeoutWait 20s. Remove prompt.Next phaseFAIL
Phase 2Escrow
OPMStandard poll AND extended note checkbox AND stack checkbox AND Escrow checkbox
Trigger IMFEscrow bit AND extended type 7 subtype 2 message with ASCII data "USD005".Next PhaseNote Acceptance
Trigger TimeoutWait 10sNext phaseFAIL
Phase 3Note Acceptance
OPMStandard poll AND extended note checkbox AND Escrow checkbox
Trigger IMFStacked AND Idle bits AND extended type 7 subtype 2 message with ASCII data "USD005".Next phasePASS
Trigger TimeoutWait 5sNext phaseFAIL


Test Case Name Return standard note ' '
Phase 0Wait for Idle
OPMStandard poll AND Escrow checkbox
Trigger IMFIdle and LRC bit on.Next phaseIdle
Trigger TimeoutWait 10sNext phase FAIL
Phase 1Idle
User prompt"Feed a $5 note"
OPMStandard poll AND Escrow checkbox
Trigger IMFEscrow bit AND note index 3. Remove prompt.Next phaseEscrow
Trigger TimeoutWait 20sNext phaseFAIL
Phase 2Escrow
OPMStandard poll AND return checkbox AND Escrow checkbox
Trigger IMFEscrow bit AND note index 3Next PhaseNote Returning
Trigger TimeoutWait 10sNext phaseFAIL
Phase 3Note Returning
OPMStandard poll AND Escrow checkbox
Trigger IMFReturned AND Idle bits.Next phaseVerify Return
Trigger TimeoutWait 10sNext phaseFAIL
Phase 4Verify Return
User prompt"Was a $5 note returned" Yes or No buttons.
OPMStandard poll AND Escrow checkbox
Trigger ManualYes button pressed. Remove prompt.Next phasePASS
Trigger ManualNo button pressed. Remove prompt.Next phaseFAIL


Test Case Name Request Application Software Version ' '
Phase 0Wait for Idle
OPMStandard poll AND Escrow checkbox
Trigger IMFIdle and LRC bit on.Next phaseIdle
Trigger TimeoutWait 10sNext phase FAIL
Phase 1Idle
OPMExtended type 6 message - Request application software version
Trigger IMFExtended type 6 AND data0 byte 0x0 AND data1 byte 0x0 AND 9 ASCII data bytes that match user configured application software part number.Next phasePASS
Trigger TimeoutWait 20sNext phaseFAIL
Personal tools