QuestionQ59

VerifiedTest Analysis and Test Design

You are developing tests for a bank ATM system. You want to define the keywords that will be used for the following user story: "As a bank customer, I want to withdraw cash so that I can buy a nice dinner."

Assuming this is a standard ATM with standard functions, which of the following is the most likely set of keywords needed to test this story?

Explanation

In keyword-driven test automation, keywords should represent business-readable, reusable actions at an appropriate level of abstraction — not overly granular implementation steps. For a standard ATM cash withdrawal, the minimal set of keywords covers authentication (Login customer), the action under test (withdraw cash), and a verification step to confirm the outcome (verify balance). This gives testers a check that the withdrawal actually occurred and the balance reflects the transaction, which is essential for a valid keyword-driven test. Options that omit login or verification are incomplete, while a more granular breakdown (accept withdrawal request, disburse cash, update balance) represents implementation detail rather than the appropriate keyword abstraction level for this user story.

Community Discussion

No comments yet. Be the first to start the discussion!