---Advertisement---

Automation Interview Questions From “Tech Mahindra” for (4-6 y) Exp

By Manisha

Published On:

---Advertisement---

1. Please introduce yourself.

2. Explain your Automation Framework and its components.

3. What is a Page Object Model (POM)?

4. How do you run test cases in parallel using Cucumber?

5. What’s inside the Runner File in Cucumber?

6. What is a Singleton Design Pattern?

7. Advantages and disadvantages of POM?

8. What is Selenium Grid?

9. Explain the WebDriver instantiation process.

10. What is the use of the WebDriverManager?

11. Explain the Maven Lifecycle.

12. How do you rerun failed test cases?

13. How do you generate test reports in Selenium?

14. How do you customize reports post-execution?

15. Types of waits in Selenium?

16. Code snippet for Explicit Wait?

17. Code snippet for Drag and Drop in Selenium?

18. How do you switch between multiple windows?

19. Why is SET used with window handles?

20. Code for taking a screenshot in Selenium?

21. Scenario vs. Scenario Outline in Cucumber?

22. How to pass test data to Selenium scripts?

23. How do you prioritize your test cases?

24. How to rerun a single test case repeatedly?

25. Annotations used in TestNG?

26. Hierarchy of TestNG annotations?

27. What is the defect life cycle?

28. Difference between Smoke and Sanity Testing?

29. How do you integrate Jenkins with Selenium?

30. What is the role of listeners in TestNG?

---Advertisement---

Related Post

Leave a Comment