Your practice suites
Every question is a spec with checks. Answer it to run it. Green means you'd pass it in a real interview today.
SDET – Selenium + Java
18 specs: 0 passing, 18 not run
Readiness for this role
0% ready
- not runExplain implicit, explicit and fluent waits. Why should you not mix implicit and explicit waits?Waits, easy, 4 checks
- not runWhich locator strategies do you prefer and why? When do you use XPath?Locators, easy, 4 checks
- not runWhat is the Page Object Model and what problems does it solve?Framework design, easy, 5 checks
- not runWhat causes StaleElementReferenceException and how do you handle it?Debugging, medium, 4 checks
- not runHow do you run Selenium tests in parallel safely with TestNG?Parallel runs, medium, 4 checks
- not runA test passes locally but fails randomly in CI with NoSuchElementException. How do you investigate?Debugging, medium, 5 checks
- not runWhich TestNG features do you use in your framework?TestNG, easy, 5 checks
- not runExplain the automation framework you built or work on, layer by layer.Framework design, medium, 5 checks
- not runWhich Java collections do you use in test automation and for what?Java, easy, 4 checks
- not runHow do you handle multiple windows, frames and alerts in Selenium?WebDriver, easy, 4 checks
- not runWhen would you use JavascriptExecutor, and what are the risks?WebDriver, medium, 4 checks
- not runWhere do you use OOP concepts like inheritance, encapsulation and polymorphism in your framework?Java, medium, 4 checks
- not runYour regression suite takes 6 hours. How would you bring it under an hour?Strategy, hard, 5 checks
- not runWhat changed in Selenium 4 that you actually use?WebDriver, medium, 5 checks
- not runWhich design patterns have you used in automation frameworks, and why?Framework design, hard, 5 checks
- not runHow do you plug your Selenium suite into a CI/CD pipeline?CI/CD, hard, 5 checks
- not runScenarioThis nightly Jenkins run started failing after the team switched TestNG to parallel="methods". Locally, every test passes. What is going wrong, and how do you fix it?Jenkins console – regression #482, medium, 5 checks
- not runScenarioThis test fails about 1 in 5 runs with StaleElementReferenceException on line 9. Review the code: what's the cause and how would you rewrite it?OrdersTest.java, easy, 5 checks