Interview practice

QA Automation Engineer

2–5 years · Mid — Selenium / Playwright · API testing · Test design · CI integration · Python / Java · Debugging

0–2 years 2–5 years 5–8 years 8+ years
scenario Flaky tests 1 of 6
You have several flaky tests in your suite that intermittently fail without clear reasons. How do you approach identifying and resolving these flaky tests?
What a strong answer covers

Isolates flaky tests to determine frequency and conditions of failures; reviews test logs and screenshots to identify patterns; considers environmental factors like timing or resource contention; rewrites tests to be more robust; implements retries for known flaky scenarios.

The follow-up you would get

What criteria do you use to decide whether to keep, fix, or remove a flaky test?

Could you have answered that?
technical Test Design 2 of 6
You need to create automated tests for a web application with a complex login flow that has three different user roles. What strategy do you use to ensure you cover all scenarios effectively?
What a strong answer covers

Identifies key user paths for each role; uses parameterized test cases or data-driven testing; defines clear preconditions and expected outcomes; prioritises based on user impact and risk; documents test coverage explicitly.

The follow-up you would get

How do you manage the maintenance of these test cases as the application evolves?

Could you have answered that?
scenario Test design 3 of 6
You are tasked with testing a new feature that has conflicting requirements from different stakeholders. How do you prioritise and manage the testing process?
What a strong answer covers

List all conflicting requirements and their impacts; consult with stakeholders to clarify priorities and risks; design a test plan that covers the most critical functionalities first; document assumptions made during testing; prepare to adjust tests as requirements evolve.

The follow-up you would get

How do you handle situations where stakeholders change their priorities mid-testing?

Could you have answered that?
ownership Test data management 4 of 6
Talk about a time when you faced challenges with test data and how you overcame them.
What a strong answer covers

Details the specific challenges faced with test data, including types of data; describes the strategies employed to address the issues; mentions collaboration with teams or tools used; includes metrics or outcomes that illustrate improvement; avoids vague descriptions.

The follow-up you would get

What would you change about your approach to test data management?

Could you have answered that?
technical Test Data Management 5 of 6
Your tests rely on a large dataset, but they sometimes fail due to data integrity issues. How do you ensure reliable test data for your automation suite?
What a strong answer covers

Creates a consistent test data generation strategy; uses fixtures or factories to define test data; implements data cleanup routines to maintain integrity; considers using mocks or stubs for external dependencies; integrates data validation checks within tests.

The follow-up you would get

How do you handle versioning of test data when the application schema changes?

Could you have answered that?
technical Selenium / Playwright 6 of 6
Your Selenium tests are running slower over time and sometimes fail due to ‘Element not found’ errors. What steps do you take to investigate and resolve this?
What a strong answer covers

Enables logging to capture detailed error messages; reviews the application’s loading times and synchronisation issues; checks for changes in the DOM structure; considers implementing explicit waits and retries; refactors flaky tests to improve robustness.

The follow-up you would get

What strategies do you use to handle dynamically generated elements in the DOM?

Could you have answered that?
That is this set.

Load six more — you will get questions you have not seen first.

Give me six more →

Say your answer out loud before revealing. Reading the answer first feels like learning and is not.