Ctrl K
QA · Mid-level · Theory

There's a "transfer amount" field: valid values are from $1 to $1,000, and cents are allowed. What checks would you put together for this field, and why those in particular?

~4 min by voice

How to approach it

The interviewer wants to see whether you apply equivalence classes and boundary values deliberately: choosing the boundary step based on the field's precision (one cent), not forgetting about the input format, and checking validation on the server, not just in the UI.

Have you seen this question in a real interview?
Answers0
Avg. score—
Strong—
Practiced0
Topics
Similar questionsYou need to test a web app across different configurations: four browsers, three operating systems, three interface languages and two pricing plans. Testing every combination means seventy-two of them. How would you reduce the number of tests? JuniorTell me when you use pairwise testing, and in which cases it can miss a serious defect. SeniorYou're given a business rule for calculating a discount that depends on the order total, the customer's status and a promo code. How would you design tests for it? SeniorIn an online store, the discount depends on three conditions: whether the customer has a loyalty card, whether the order total is over $100, and whether this is their first order. How would you design the tests so that you don't miss a single combination? JuniorA registration form has an "Age" field that accepts whole numbers from 18 to 65. What checks would you come up with for this field, and how would you choose the specific values? Junior

Answer by voice

The interviewer will ask this question and listen. Think out loud and ask for a hint if you need one. When you're done, pause or tap “That's my answer”. In about a minute, your score and the points you covered show up here.

Sign in to answer

Best with headphones · ~4 min