Bird
0
0

You have a use case testing scenario for an online store checkout:

hard📝 Application Q15 of 15
Testing Fundamentals - Functional Testing Techniques
You have a use case testing scenario for an online store checkout:
1. User adds item to cart
2. User proceeds to checkout
3. User enters invalid credit card number
4. User clicks 'Pay'

Which expected result best fits this use case test?
APayment is processed successfully.
BCart is emptied automatically.
CUser is redirected to homepage without message.
DError message 'Invalid credit card number' is displayed and payment is blocked.
Step-by-Step Solution
Solution:
  1. Step 1: Review the scenario steps

    User tries to pay with an invalid credit card number.
  2. Step 2: Determine correct system response

    The system should block payment and show an error about the invalid card.
  3. Final Answer:

    Error message 'Invalid credit card number' is displayed and payment is blocked. -> Option D
  4. Quick Check:

    Invalid payment info = error shown, payment blocked [OK]
Quick Trick: Invalid payment info must trigger error and block payment [OK]
Common Mistakes:
  • Assuming payment succeeds with invalid data
  • Expecting silent redirects without messages
  • Thinking cart empties on failed payment

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Testing Fundamentals Quizzes