1.1. BDD with Cucumber
• Explain the difference between a Scenario and a Scenario Outline.
• Describe the role of a Step Definition file in Cucumber.
• How are Tags used to organize or control test execution in Cucumber?
• Explain the purpose of Data Tables in Cucumber scenarios.
2. Selenium Concepts
• Describe how pop-ups can be handled using Selenium.
• Explain different ways to perform page scrolling during automation.
• What is Fluent Wait and when is it used?
3.Framework & Tools
• Explain the purpose of the pom.xml file in a Maven project.
• What is Parallel Testing and why is it useful in automation?
• Describe JSON Schema Validation and its importance.
4. Coding Problems
• Write a program to remove duplicate elements from an array and calculate the frequency of characters.
• Provide an XPath expression to fetch values from the second column of a web table.
5. API Testing
• Explain common HTTP status codes returned by APIs.
• Differentiate between Path Parameters and Query Parameters.
• How can nested JSON responses be handled?
6. Automation Framework Concepts
• What is an Automation Framework? Explain its structure.
• Describe Object-Oriented Programming (OOP) concepts and how they are applied in automation frameworks.
• Explain the usage of Java collections.
1.How do you handle frames and iframes in Selenium?
What is the Page Object Model (POM)? Why is it used?
Write a Page Object class for a login page.
How do you take screenshots in Selenium?
What is TestNG? How is it different from JUnit?
Explain TestNG annotations (@Test, @BeforeTest, @AfterTest, etc.).
How do you run tests in parallel using Selenium Grid?
How do you handle dynamic elements in Selenium (elements with changing attributes)?
What is the difference between findElement() and findElements()?
How do you perform mouse hover actions in Selenium? Use Actions class.
How do you perform drag and drop in Selenium?
What is data-driven testing? How do you implement it using Excel or CSV?
How do you handle SSL certificate errors in Selenium?
What are the challenges you faced in Selenium automation? How did you overcome them?
How do you integrate Selenium with CI/CD tools like Jenkins?
1.1.Explain the difference between JDK, JRE, and JVM. How are they related?
2.What is the difference between String, StringBuilder, and StringBuffer? When would you use each?
3.How do you implement custom validation in Spring Boot? Explain with an example.
4.Write a program to check if a string is a palindrome without using built-in reverse functions.
5.What is the difference between @RestController and @Controller in Spring?
6.Explain the Java Memory Model. 7.What are heap and stack? How does garbage collection work?
8.How do you connect to a MySQL database in Spring Boot? Explain the configuration.
9.Design a library management system. Include entities, relationships, and key operations.
10.What are the different types of joins in SQL? Explain with examples.
11.Explain your experience with version control (Git). How do you handle merge conflicts?
1.1. What is the Page Object Model (POM), and why is it used in Selenium automation?
2. How does driver.close() differ from driver.quit() in Selenium?
3. What do waits mean in Selenium? Compare implicit waits and explicit waits.
4. What is the function of the deleteAllCookies() method in Selenium?
5. What are locators in Selenium, and what different types are available?
6. Describe the complete life cycle of a software defect or bug.
7. How can mouse-related actions be performed using Selenium?
8. Can Selenium work alongside API testing tools? Explain the integration approach.
9. Why are linkText() and partialLinkText() locators used in Selenium, and when should they be applied?
10. How are exceptions handled while working with Selenium?
11. What is a Test Plan, and what essential elements does it include?
12. What kinds of XPath expressions are available in Selenium?
13. What were your key responsibilities and contributions in your previous project?
14. How does the get() method differ from the navigate() method in Selenium WebDriver?
15. Which keyboard operations can be automated using Selenium WebDriver?
16. What are Selenium annotations, and what purpose do they serve?
17. In what scenarios is cssSelector preferred as a locator strategy, and why?
18. What approach do you use to manage multiple browser windows in Selenium?
19. Can a single try block contain multiple catch blocks? Illustrate with an example.
20. How do you handle JavaScript alerts and pop-ups in Selenium?
21. What is the difference between verify() and assert() in test automation?