0% found this document useful (0 votes)
23 views

Selenium Interview Guide

This document provides an overview of Selenium and covers topics like WebDriver methods, locators, WebElement methods, radio buttons, dropdowns, JavaScript executor, screenshots, mouse hover actions, drag and drop, window handling, frames, alerts and waits.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views

Selenium Interview Guide

This document provides an overview of Selenium and covers topics like WebDriver methods, locators, WebElement methods, radio buttons, dropdowns, JavaScript executor, screenshots, mouse hover actions, drag and drop, window handling, frames, alerts and waits.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Selenium

Interview Guide

Suriya prakash. R
TEST CONSULTATNT – ATOS,
www.linkedin.com/in/suriya-prakash-359039228
TOPICS COVERED:
➢ WEB DRIVER METHODS
➢ NAVIGATION COMMANDS
➢ LOCATORS
➢ WEBELEMENT METHODS
➢ RADIO BUTTON
➢ HANDLING MULTIPLE WEBELEMENTS AND AUTO SUGGESTION
➢ CHECK BOX
➢ DROP DOWN
➢ WEB TABLE
➢ JAVASCRIPT EXECUTOR
➢ SCROLL UP AND SCROLL DOWN
➢ SCREENSHOT
➢ MOUSE HOVER ACTION
➢ DRAG & DROP AND RIGHT CLICK
➢ WINDOW HANDLING
➢ FRAME HANDLING
➢ ALERTS
➢ WAIT
➢ FILE UPLOADING USING ROBOT CLASS AND SENDKEYS
➢ BROKEN LINKS
1. What is Automation Testing and benefits?
2. Why should Selenium be selected as a test tool?
3. What is Selenium? What are the different Selenium components?
4. What is the difference between Selenium IDE, Selenium RC, and WebDriver?
5. What is the latest version of selenium jar file and how you will configure selenium
jar file with eclipse?
6. Can Google Chrome be supported by Selenium IDE?
7. What are the different browsers supported by selenium?
8. What is the Classname,driver name for the below browsers,
• Firefox browser
• Chrome browser
• IE
• safari browser
• Opera browser
9. What is the WebDriver and WebDriver is class or interface?
10. What is the method name to launch the url?
11. Method names to get the title and current URL?
12. What is the difference between close() and quit()?
13. What are the locators available in selenium?
14. which locator is faster in selenium?
15. How will you find the locators in selenium? write a code for it?
16. Explain about findElement & findElements?
17. Different between findElement and FindElements?
18. What is the return type of findElement and findElements?
19. In which class all the locator methods are available?
20. What is method to insert a value in textbox?
21. Write a code for inserting value in textbox?
22. While finding the locators index will start from 0 or 1?
23. How will you click a button in webpages?
24. WebElement is a interface or class?
25. What are the different types of xpath?
26. What is xpath? Why we are going for xpath?
27. What are the Types of xpath?
28. What is the difference between Absolute xpath and Relative xpath?
29. What are the differenece between / and // ?
30. What is the difference between Radio and CheckBox button?
31. What is the method used to perform click?
32. What are the xpath functions?
33. How will you select a female Radio Button and write a code for it ?
34. Write a code for selecting a Radio Button and CheckBox button click ?
35. What are the methods available in xpath?
36. What is the purpose of debug?
37. What is the steps for debug?
38. What are the types of debug?
39. How to take a locator in which contains no tag?
40. How to print a paragraph from webpage?
41. What are the methods to get and print the text from webpage?
42. What is the purpose of getText() and getAttribute() ?
43. What is the return type of getText() and getAttribute() ?
44. In which interface getText() and getAttribute() is available?
45. What are the difference between getText() and getAttribute()?
46. Whether it is possible to get the text from webpage without using getText()?
47. What is MouseOverAction?
48. Write a code to perform MouseOverAction?
49. Whether Action is a class or Interface?
50. How will you perform Drag and drop?
51. what is the use of the Action class?
52. What is the purpose of Drag and Drop?
53. In which class dragAndDrop method is available?
54. Why we use .perform()?
55. What is the purpose of moveToElement()? where t is used?
56. In which class moveToElement() is present?
57. How will you perform MouseOver action ?
58. What is the difference between moveToElement() & switchTo()?
59. How will you Perform rightClick?
60. How will you perform doubleClick?
61. Write a code for Robot class?
62. In which package Robot class is available?
63. what exception Robot class throws?
64. What is the method to perform rightClick?
65. What is the method to perform doubleClick?
66. Write a code to copy a text using Robot class?
67. Write a code to paste a text using Robot class?
68. In which class contextClick() is available?
69. In which class doubleClick() is available?
70. How will you take a screenshot in selenium?
71. For what reason we have to take screenshot?
72. Whether TakesScreenshot is a class or interface?
73. In what place the screenShot will store in default?
74. Write a code to perform Screenshot?
75. Whether FileUtils is a class or interface?
76. Supoose we want to change the location of the Screenshot What can we do?
77. What is javaScript?
78. Write a code for the scrollUp and scrollDown?
79. In which method scrollUp and scrollDown take place?
80. Whether JavaScript is a class or interface?
81. What is an Alert?
82. What are the types of Alert?
83. Write a code to perform Alert?
84. What can we do to click Ok button in alert?
85. What can we do to click Cancel button in alert?
86. Whether alert is an interface or class?
87. What is mean by frames?
88. What are the arguments we pass on frames?
89. Write a code for switching the alert?
90. Write a code to switch frames?
91. What is the method switch the alert and frame?
92. What is the purpose of DropDown?
93. How will you perform DropDown?
94. What are the ways to select DropDown options?
95. Whether Select is a interface or class?
96. Write a code to print all the options in DropDown?
97. Can we select multiple values in DropDown?
98. How will select multiple values in DropDown?
99. What are the methods available in Select class?
100. can we deselect the options in DropDown?
101. Write a code to print selected options in DropDown?
102. Write a code to deselect the selected options in DropDown?
103. What is the purpose of windows Handling?
104. Write a code to perform windows Handling?
105. Which method is used to get parent window?
106. Which method is used to get child windows?
107. Write a code to switch from parent window to child window?
108. In which order the windows order will arrange?
109. Write a code to return to your parent window?
110. What is the return type of getWindowHandles()?
111. What is the return type of getWindowHandle()?
112. Write a code to switch to 8 th child window?
113. Write a code to switch to 8 th child window without using any for loop?
114. Write a code to switch multiple windows?
115. What is mean by webtable?
116. What is the use of webtable?
117. Under which tags webtable is present in html?
118. Which tag is used to mention the table row and table data?
119. Write a code to display all the Colum Name from the table?
120. Write a code to display all the data from the table?
121. If there are multiple tables available in webpage.How Will you display the any
specified particular webtable data?
122. Write a code to print the rows alone form the webtable?
123. Write a code to print all the data's from the webtable using enhanced for loop?
124. Write a code to print the table headers from the WebTable?
125. What is mean by JavaScript?
126. Whether JavaScript is a class or Interface?
127. What is the method available to run the Javascript?
128. Write a code to click a button using JavaScript?
129. Write a code to insert a value in textBox using JavaScript?
130. What method is used to get the font size of the WebElement in a webpage?
131. What method is used to get the Color of the WebElement in a webpage?
132. Write a code to highlight the WebElement in a webpage?
133. Write a code to get the InnerText and Title of a webpage using Javascript?
134. Write a code to perform scrollUp in a webpage using Javascript?
135. Write a code to perform scrolldown in a webpage using Javascript?

You might also like