How would you approach a login form with no written requirements?
Answer
Start by asking a few high-value questions, stating assumptions and building a compact risk model aloud. Cover accepted and rejected credentials, error-message privacy, rate limits and lockout, password recovery, MFA, session creation and expiry, secure cookies, keyboard use and accessible feedback. Ask about users, supported platforms, business rules and unacceptable outcomes; compare with credible product behavior, and label every inferred rule as an assumption requiring confirmation. Use user goals, invariants, comparable behavior and observable state changes as the oracle, control data and dependencies enough to reproduce failures, and finish with observed evidence, residual risk and the next most valuable check.
Strong answer includes
- covers authentication, session and abuse risks
- adapts evidence to the constraint: with no written requirements
- states assumptions and questions
- prioritizes before listing cases
- measurable evidence and residual-risk statement
Practical example
Given only 'test the login form' with nothing written down, the candidate asked whether social login was supported, what happens after five failed attempts, and whether the error message should reveal if an email exists, then flagged the assumption that lockout occurs after five attempts as something to confirm with the interviewer before designing test cases around it.