1. Tell me about yourself.
2. Open any of the eCommerce websites and find the XPath of the search bar.
3. What are the locators you will use in your project?
4. Have you ever used CSS Selectors?
5. Types of XPath?
6. Difference between Background and Scenario Outline in the Cucumber framework.
7. Have you used OOPS concepts in the Cucumber framework?
8. Open the online compiler, create a string, enter some words (e.g., “This is a Java Program”), remove the space, print it, and reverse the string. Explain the program.
9. SDLC Lifecycle.
10. How will you prioritize the methods in TestNG? If two methods have the same priority, which one will execute first?
11. Different types of exceptions you faced in your projects.
12. How to handle exceptions?
13. How to handle pop-ups in Selenium?
14. Explain the folder structure of your framework.
15. Explain the pom.xml file.
16. Have you ever done cross-browser testing? How do you do that?
17. What are the different types of testing you have done so far?
18. Difference between Smoke Testing and Regression Testing.
19. Have you used collections in your scripts?
20. Have you created a framework from scratch?