Sample Test Cases

From ReliSourceWiki

(Difference between revisions)
Jump to: navigation, search
Line 38: Line 38:
|-
|-
| Trigger Timeout||Wait 5s||Next phase||FAIL
| Trigger Timeout||Wait 5s||Next phase||FAIL
 +
|-
 +
|
 +
|}
 +
 +
 +
| {{table}}
 +
| align="center" style="background:#86a676;"|'''Test Case Name'''
 +
| align="center" style="background:#86a676;"|'''Remove cashbox'''
 +
| align="center" style="background:#86a676;"|''''''
 +
| align="center" style="background:#86a676;"|''''''
 +
|-
 +
| Phase 0||Wait for Idle||||
 +
|-
 +
| OPM||Standard poll AND Escrow checkbox||||
 +
|-
 +
| Trigger IMF||Idle and LRC bit on.||Next phase||Idle
 +
|-
 +
| Trigger Timeout||Wait 10s||Next phase ||FAIL
 +
|-
 +
| Phase 1||Idle||||
 +
|-
 +
| User prompt||\"Remove the cashbox\"||||
 +
|-
 +
| OPM||Standard poll AND Escrow checkbox||||
 +
|-
 +
| Trigger IMF||LRC bit off.  Remove prompt.||Next phase||Verify Removed
 +
|-
 +
| Trigger Timeout||Wait 20s||Next phase||FAIL
 +
|-
 +
| Phase 2||Verify Removed||||
 +
|-
 +
| User prompt||\"Is the yellow LED on?\"  Yes or No buttons.||||
 +
|-
 +
| OPM||Standard poll AND Escrow checkbox||||
 +
|-
 +
| Trigger Manual||Yes button pressed.  Remove prompt.||Next phase||PASS
 +
|-
 +
| Trigger Manual||No button pressed.  Remove prompt.||Next phase||FAIL
|-
|-
|  
|  
|}
|}

Revision as of 08:07, 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


| Template:Table | align="center" style="background:#86a676;"|Test Case Name | align="center" style="background:#86a676;"|Remove cashbox | align="center" style="background:#86a676;"|' | align="center" style="background:#86a676;"|' |- | Phase 0||Wait for Idle|||| |- | OPM||Standard poll AND Escrow checkbox|||| |- | Trigger IMF||Idle and LRC bit on.||Next phase||Idle |- | Trigger Timeout||Wait 10s||Next phase ||FAIL |- | Phase 1||Idle|||| |- | User prompt||\"Remove the cashbox\"|||| |- | OPM||Standard poll AND Escrow checkbox|||| |- | Trigger IMF||LRC bit off. Remove prompt.||Next phase||Verify Removed |- | Trigger Timeout||Wait 20s||Next phase||FAIL |- | Phase 2||Verify Removed|||| |- | User prompt||\"Is the yellow LED on?\" Yes or No buttons.|||| |- | OPM||Standard poll AND Escrow checkbox|||| |- | Trigger Manual||Yes button pressed. Remove prompt.||Next phase||PASS |- | Trigger Manual||No button pressed. Remove prompt.||Next phase||FAIL |- | |}

Personal tools