Senior Java + Selenium Interview Handbook
Target Role: Senior Software Tester / QA Analyst / SDET
Concise, interview■focused, last■minute revision friendly
1. Core Java – Interview Focused
• OOP principles with automation examples
• Collections: List, Set, Map comparisons
• HashMap vs ConcurrentHashMap
• Equals & hashCode contract
• Immutability & String
• Java 8: Streams, Lambda
• Multithreading basics
2. Selenium Fundamentals & Advanced
• Selenium architecture & WebDriver internals
• Locators: XPath & CSS best practices
• Wait strategies
• Handling frames, windows, alerts
• Actions, JavaScriptExecutor
• Dynamic elements & synchronization
3. Framework Design & Scalability
• Page Object Model (POM)
• Hybrid framework design
• DriverFactory & BaseTest
• Parallel execution
• Scalable folder structure
4. TestNG, Maven, Reporting
• TestNG annotations & DataProvider
• Maven lifecycle
• Logging with Log4j
• Extent & Allure reports
5. CI/CD, Jenkins, Docker, Grid
• Git workflows
• Jenkins pipelines
• Dockerized execution
• Selenium Grid & cloud execution
6. API & DB Testing
• REST API basics
• RestAssured integration
• JDBC basics
• UI vs DB validation
7. BDD – Cucumber
• Gherkin syntax
• Step definition best practices
• Hooks & tags
• Cucumber + TestNG
8. Senior-Level Scenarios
• Framework design from scratch
• Flaky test handling
• Optimizing execution time
• Automation strategy decisions
9. Common Coding Questions
• Reverse string
• Find duplicates
• Character count
• Custom waits
• Read config files
10. Best Practices & Interview Tips
• Write maintainable tests
• Avoid hard waits
• Explain real project examples
• Think like an SDET
End of Handbook
Best of luck in your Senior QA / SDET interviews!