You receive a login form with email, password and submit. How do you build a compact but defensible test set?
Answer
Model field rules and boundaries, valid and invalid credentials, account states, rate limits, error messages, keyboard and accessibility behaviour, sessions, redirects and security. Prioritize the normal login, lockout risk and account isolation before cosmetic variants.
Strong answer includes
- partitions and account states
- security and session checks
- risk-based prioritization
Practical example
For a login form test set, a junior QA engineer prioritized four cases first: successful login, wrong password five times triggering lockout, an already-locked account trying to log in, and session behavior after password reset, before spending any time on cosmetic field-validation messages.