๐จ Cognizant | Automation Testing Interview Questions | Java | Selenium/Playwright | API | SQL | CI/CD |
โโโโโโโโโโโโโโโโโโ
๐น Round 1 โ Technical & Practical
โ What is the difference between Interface and Abstract Class in Java?
โก Explain final, finally and finalize().
โข How do you handle StaleElementReferenceException in real projects?
โฃ How do you automate a page containing dynamic web elements?
โค How do you handle mouse hover, drag & drop and keyboard actions?
โฅ How do you automate multiple checkboxes/radio buttons dynamically?
โฆ How do you verify broken images and broken links?
โง How do you handle AJAX-based elements?
โจ How do you validate UI elements based on their attributes?
โฉ How do you perform cross-browser testing?
โช What is the difference between Path Parameter and Query Parameter?
โซ How do you validate an API against a JSON schema?
โฌ How do you handle API dependencies between test cases?
โญ How would you test an API when the response contains dynamic values?
โฎ Write an SQL query to find the second-highest salary.
โโโโโโโโโโโโโโโโโ
๐น Round 2 โ Framework, CI/CD & Scenario-Based
โ Explain your end-to-end automation framework.
โก How do you design a framework that is easy to maintain?
โข How do you implement reusable components across test cases?
โฃ How do you handle configuration properties and environment variables?
โค How do you maintain different test data for different environments?
โฅ How do you execute tests based on Smoke, Regression and Sanity requirements?
โฆ How do you integrate automation with Jenkins/Git?
โง How do you investigate a sudden increase in automation failures?
โจ What would you do if an application works in Chrome but fails in Firefox?
โฉ What if an element is visible but click() doesn’t work?
โช How would you handle a test that fails because of timing issues?
โซ How do you distinguish between a product bug, environment issue and automation bug?
โฌ How would you handle automation when the application requirements change frequently?
โญ How do you prioritize automation when you have limited time before release?
โฎ Explain the most difficult production issue you helped identify or troubleshoot.
