Interview practice

QA Automation Engineer

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

0–2 years 2–5 years 5–8 years 8+ years
technical Debugging 1 of 6
You have a Selenium test that fails randomly on different environments with no clear error message. What steps do you take to debug the issue?
What a strong answer covers

Enables verbose logging for Selenium; checks for version mismatches between browsers and WebDriver; examines the application state before the failure; uses wait strategies to manage asynchronous elements; considers if environmental factors (like screen resolution) may impact test outcomes.

The follow-up you would get

What tools do you use to gather more information about the failure?

Could you have answered that?
technical Test Design 2 of 6
You have a suite of 200 automated tests, but the execution time has increased from 30 minutes to over 2 hours. What steps do you take to identify the bottlenecks?
What a strong answer covers

Analyses test execution logs to identify slow tests; uses profiling tools to pinpoint resource-heavy tests; checks for unnecessary waits or retries; evaluates test dependencies and parallelisation opportunities; considers splitting the suite into smaller, more manageable suites.

The follow-up you would get

Which specific changes do you make to improve execution time?

Could you have answered that?
technical Flaky Tests 3 of 6
You have identified several flaky tests in your suite that fail sporadically. What steps do you take to fix or mitigate these tests?
What a strong answer covers

Isolates flaky tests to understand their failure modes; applies retry logic where appropriate; audits test logic for timing issues or dependencies on external states; ensures proper teardown and setup between test runs; considers rewriting tests with better stability or clarity.

The follow-up you would get

How do you prioritise which flaky tests to address first?

Could you have answered that?
scenario Performance testing 4 of 6
During a performance testing run, you notice a sudden spike in response times. Describe your immediate actions to assess the situation.
What a strong answer covers

Analyzes performance metrics and logs for anomalies; identifies the specific endpoints affected; correlates with system resource usage (CPU, memory); checks for recent deployments or configuration changes; conducts a quick review of database queries for slow performance.

The follow-up you would get

You identify a database query causing delays. How do you improve this without impacting the existing functionality?

Could you have answered that?
technical Test Data Management 5 of 6
Your automated tests require specific test data that is not consistently available in the test environment, causing failures. How do you resolve this?
What a strong answer covers

Implements a test data management strategy; uses mocks or stubs for external data dependencies; creates scripts to seed the database with known good data before test runs; ensures data cleanup after tests; evaluates whether a data factory pattern can be used for dynamic test data generation.

The follow-up you would get

How do you manage test data consistency across different environments?

Could you have answered that?
technical API Testing 6 of 6
You receive an API response with a status code 500 consistently during peak load testing. How do you diagnose and address the issue?
What a strong answer covers

Checks server logs for error messages and stack traces; reproduces the error with varying loads to identify thresholds; verifies input data for validity; examines dependencies and external services that may affect performance; considers implementing rate limiting or retries as a solution.

The follow-up you would get

What metrics do you monitor during peak load to identify issues?

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.