The workflow of an ATM is defined by the following rules:

  • The ATM goes into the WORKING state with the TURN ON action.
  • When in the WORKING state, the ATM can:
    • ACCEPT CARD which switches it to the CARD ACCEPTED state.
    • Start the AUTOMATIC TESTING action which switches it to the SELF TESTING state.
  • Within CARD ACCEPTED the ATM can:
    • CALL POLICE which switches it to the WAITING POLICE state.
    • PROCESS TRANSACTION which switches it to the TRANSACTION PROCESSED state.
  • From the TRANSACTION PROCESSED state the ATM goes into the SELF TESTING state with the PULL CARD action.
  • When in the SELF TESTING state, the ATM can either:
    • PASS, which switches it to the WORKING state.
    • FAIL, which switches it to the WAITING SERVICE state.
  • From the WAITING SERVICE state, the ATM can either:
    • Be SERVICED, which puts the ATM into the WORKING state.
    • Be RETESTED, which returns the ATM to the SELF TESTING state.

Prepare the optimal (effective and efficient) set of test cases required to test this workflow. The test cases should cover all complete state transitions and should avoid testing same state transitions multiple times.

Test cases

Test case 1
ActionNext state

Quality Assurance Specification Analysis State Transition Test Case Design New Public


Would you like to see our other questions?

We have 1000+ premium hand-crafted questions for 160+ job skills and 20+ coding languages. We prefer questions with small samples of actual work over academic problems or brain teasers.

Visit our question library
Private Concierge

Send us an email with an explanation of your testing needs and a list of candidates. We will create an appropriate test, invite your candidates, review their results, and send you a detailed report.

Contact Private Concierge

Would you like to see our tests? The following tests contain Quality Assurance related questions:
On the TestDome Blog

Screening Applicants: The Good, the Bad and the Ugly

Since we’re all biased and we use incorrect proxies, why not just outsource hiring to experts or recruitment agencies? After all, they’ve been screening people for many years, so they must know how to do it right?

Not really. I was surprised to discover that many experts disagree with each other. Everybody praises their pet method and criticizes the others. Many of these methods look legitimate, but are based on...

Dashboard Start Trial Sign In Home Tour Tests Questions Pricing For Jobseekers