Round 1 – Technical Round
๐ Tell me about your roles and responsibilities in your project? Have you created framework from scratch? Explain architecture
๐ Which design pattern you have used in framework? Explain Page Object Model and Singleton
๐ Difference between Comparable and Comparator? Where you used it
๐ In TestNG how will you ensure that screenshots will be taken only for failed test cases
๐ What are cases where you will use finally block? What is method hiding in Java
๐ How to perform data driven testing in Postman?
๐ Write a java code to print all the array elements that appears at least 2 times (2 or greater)
๐ WAP to reverse words in a string / find duplicate characters
Round 2 – Technical + Managerial Round
๐ Explain how do you pick which test cases to automate
๐ Write code to find broken links in Selenium? How do you handle multiple frames
๐ You have 10 links how will you print title of each link using selenium? Optimal approach
๐ In what cases you need to use implicit / explicit wait?
Difference between http://driver.get() vs navigate().to()
๐ How to handle Location popup and dynamic dropdowns in Selenium
๐ How do you handle Flaky tests? Infosys expects – Explicit waits, stable locators, retry analyzer, screenshots
๐ Difference between Smoke vs Sanity, Regression vs Retesting? Scrum vs Kanban
๐ What is maven surefire plugin? How do you collect only failed test data when 49 out of 200 fails
๐ WAP to find second largest number without sorting / Find first non-repeating character using Streams
๐ WAP to check if string is palindrome and count occurrence of each character
