Programming fluency
TypeScript or Python at working strength: async/await, promises, collections, OOP for page objects. SDET loops include a real coding round — usually easy-medium DSA.
The mental model
Test automation is production software whose users are engineers and whose uptime is trust. The moment you accept that, "programming for testers" stops being a lighter version of programming: your code runs thousands of times a day, in parallel, against a system that changes weekly, and its failure modes (false greens, flakes) are worse than a normal app crashing — an app that crashes gets fixed; a test that silently passes gets believed.
The analogy: a test suite is a robotic lab assistant. If the assistant sometimes forgets to wait for the centrifuge to stop before reading the result (a missing await), sometimes reads yesterday's sample (shared mutable state), and sometimes reports "all good" without doing the assay (an assertion that never ran), the lab does not have a slightly imperfect assistant — it has no assistant, plus a false sense of safety.
What breaks without programming fluency is concrete and measurable: the single largest source of flaky UI tests in JavaScript suites is unawaited asynchrony — a promise floating free while the test moves on, a race between your code and the browser. You cannot fix that class of bug with better locators or more retries; you fix it by actually understanding the event loop, promises, and where your language hides concurrency. This is also why SDET interview loops include a real coding round: not to check you can invert a binary tree, but to check the suite you write won't lie.
- Deep dive
- Internal architecture
- Real-world use cases
- Best practices
- Common mistakes
- Performance
- Security
- Production troubleshooting
- Advantages & disadvantages
- Alternatives
- Interview expectations
- Interview questions
- Facts to remember
- Cheat sheet
- Quick revision