The document contains 124 questions related to software testing concepts like SDLC models, polymorphism, TestNG, Selenium, Java programming, data structures, SQL, Agile methodologies like Scrum and Cucumber, and challenges faced during test automation. Key areas covered include locating elements and handling windows in Selenium, differences between collections like ArrayList and HashSet, TestNG annotations and execution order, advantages of the Page Object Model and Cucumber framework, and differences between testing types like smoke and sanity testing.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
45 views
Selenium Interview Questions
The document contains 124 questions related to software testing concepts like SDLC models, polymorphism, TestNG, Selenium, Java programming, data structures, SQL, Agile methodologies like Scrum and Cucumber, and challenges faced during test automation. Key areas covered include locating elements and handling windows in Selenium, differences between collections like ArrayList and HashSet, TestNG annotations and execution order, advantages of the Page Object Model and Cucumber framework, and differences between testing types like smoke and sanity testing.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3
1. Tell me about yourself.
2. What are the different types of SDLC models?
3. Following up on this, how would you choose which model to follow? 4. WAP to find duplicate characters in a given string? 5. WAP for switching from the first window to the second, then to the third, and then bringing back the control to the second window using Selenium. 6. What is the difference between ‘/’ and ‘//’ in XPath? 7. What is Polymorphism? 8. Explain the framework that you have implemented. 9. What is the TestNG execution sequence? 10. What are the disadvantages of Selenium? 11. What are serialization and deserialization? 12. What challenges or exceptions have you faced while automating using Selenium? 13. How do you decide what is to be automated? 14. How much real-time exposure do you have in API Testing? 15. Are you familiar with BDD? If yes, do you use or know about Cucumber? 16. Defect life cycle 17. Smoke and sanity testing 18. Verification and validation 19. What is polymorphism 20. Abstract class and interface and when to use 21. What are desired capabilities of selenium? 22. Given string count, duplicate character 23. Given string find character accuracy 24. Agile process
All Imp Interview Questions:
25. What are the features of Selenium? 26. What are the components available in Selenium? 27. What are the differences between Selenium3 and Selenium4? 28. How to locate elements in Selenium 29. What are the differences between / and // in XPath? 30. What are the differences between Absolute and Relative XPath 31. What are the waits available in Selenium 32. What are the differences between Implicit wait and Explicit wait 33. What are the differences between Fluent wait and Explicit wait 34. How to handle Alerts 35. How to verify the alert text 36. How to check the presence of elements on UI 37. What are the different WebDriver exceptions, you have faced while working with Selenium 38. What is the latest version of Selenium? 39. What is the disadvantage of Absolute XPath and why is Relative XPath recommended over it 40. Why CSS Selectors have higher priority over XPath Expressions 41. What is the purpose of using Wrapper classes in Java 42. What is the difference between String and StringBuffer classes in Java 43. Why Strings are immutable in Java 44. What is the parent or base class of all the classes in Java 45. Does Java support multiple inheritance 46. What is the difference between equals() and == operator in Java 47. How constructors are different from methods in Java 48. What are the differences between This and Super 49. What are the differences between Static and Final 50. What are the differences between JDK, JVM, and JRE 51. What is method Overloading in Java 52. What is method Overriding in Java 53. What are the differences between method Overloading and Method Overriding 54. How to access the variables and methods of another Class in Java 55. What are different modifiers in Java 56. What are the differences between static methods and non-static methods in Java 57. What is the difference between abstract classes and interfaces in Java 58. What is the keyword used for inheriting the interfaces in Java 59. How to handle exceptions in Java 60. What is StaleElementRefernceException 61. How to handle StaleElementRefernceException 62. What is the difference between checked and unchecked exceptions in Java 63. What is the disadvantage of Arrays and how to overcome in Java 64. What is the difference between ArrayList and HashSet in Java 65. What is the difference between ArrayList and Array 66. What is the super interface of WebDriver 67. Is the FirefoxDriver a Class or an interface 68. What is the difference between driver.get("url") and driver.navigate().to("url") 69. How can we create a Data Driven Framework using TestNG 70. What is the difference between List and Set 71. What is the difference between HashMap and HashTable 72. What are the differences between findElement() and findElements() 73. What is the return type findElements() 74. How to handle multiple windows 75. What are the differences between getWindowHandle() and getWindowHandles() 76. What is the return type getWindowHandles () 77. How to capture screenshots on failure location 78. How to handle browser sliders 79. How to type text in text field 80. How to type text without using sendKeys() 81. How to call JavaScripts functions in Selenium 82. Where to use JavaScripts functions in Selenium 83. What are the Annotations available in TestNG 84. Explain TestNG Annotations execution order 85. Explain about your framework 86. What is Cucumber framework 87. What are the advantages of Cucumber framework 88. Explain about Gherkin Keywords 89. What is the importance of Background keyword 90. What is the importance of Hooks 91. How to execute test scripts in Cucumber 92. What is the importance of Tags 93. What is Page Object Model 94. What are the advantages of POM 95. Which library used to read data from excel 96. How to create dependencies between groups 97. How to set priority to test scripts 98. What are collections used in your project 99. What are the differences between Set and Map 100. Where you used these collections in your project 101. What are the differences between Smoke and Sanity testing 102. What are the differences between Sanity and Regression testing 103. What are the differences between Re-Test and Regression testing 104. What are the differences between Priority and Severity 105. What is inner join? 106. What is outer join? 107. Difference between delete, drop, and truncate? 108. How to find broken links in web page? 109. What are the advantages of Agile than Waterfall? 110. What will you discuss in Scrum meeting? 111. What will you discuss in Retrospective meeting? 112. If Smoke testing fail what will do? 113. Explain about defect life cycle? 114. What is User story? 115. What is Epic 116. Difference between Scenario and Scenario Outline? 117. How to select Option from Drop Down 118. How to verify values in Drop Down 119. How to perform right click operation 120. How handle keyboard and mouse events 121. What are the methods available in Actions class 122. How to upload files in Selenium 123. What are the challenges faced while writing test scripts in Selenium 124. Explain about your project