All subjects

Framework & DevOps · Interview subject

Framework Design Interview Questions

Layers, POM, driver factory, config, data and reporting — the senior differentiator.

64 questions

Quick interview answer

Layered Maven project: tests → page/API layer → core (driver factory, config, utils, data) → reporting/CI, with ThreadLocal drivers and env-driven configuration.

Detailed explanation

Give the layers, then the cross-cutting concerns: thread safety, configuration per environment, test-data strategy, reporting, retry policy, and how it plugs into Jenkins. Close with metrics: number of tests, execution time, stability percentage.

text
1src/main/java
2 ├─ core DriverFactory, ConfigReader, FrameworkException
3 ├─ pages BasePage + page objects
4 ├─ api RequestSpecs, service clients, POJOs
5 ├─ utils Waits, Screenshot, JsonReader, ExcelReader
6 └─ listeners ExtentListener, RetryAnalyzer
7src/test/java
8 ├─ base BaseTest (@BeforeMethod driver init)
9 └─ tests Business test classes
10src/test/resources
11 ├─ config qa/stage/prod properties
12 ├─ testdata json / excel
13 └─ suites smoke.xml, regression.xml, api.xml

Real-world example

620 tests, 24 parallel threads on Dockerised Grid, 28-minute regression, 98.6% stability.

Interview tip

Draw it while you talk. Finish with numbers — that is what QA Leads remember.

Next subjectJenkins / CI-CD