All jobs / Automation developer / Automation Fundamentals

Automation developer interview question · 1–3 years

When do you stub the payment API in a UI test?

The strongest answer

When you are proving the shopper path, not the acquirer — keep a separate sandbox test that really charges a test card

Why it works

Exactly. Stubs are honest when they name what they skip. You still owe a real-money sandbox somewhere.

What a good answer covers

Answers that fall short

Who gets asked this

More Automation Fundamentals questions