Selenium
1. What are the limitations of Selenium?
2. What is the difference between Selenium IDE, Selenium RC, and WebDriver?
3. What is the difference between assert and verify commands?
4. What is the difference between “/” and “//” in Xpath?
5. What are the element locators available in selenium?
6. Which of the Id, Name, XPath, Or CSS Selector Should You Use?
7. How do you get the nth sub-element using xPath?
8. How do you get the nth sub-element using css selector?
9. How do you launch the browser using WebDriver?
10.What are the different types of waits available in WebDriver?
11.What is the difference between implicit wait and explicit wait?
12.How can you find if an element in displayed on the screen?
13.How to handle frame in WebDriver
14.What is WebDriver in selenium
15.What is findElement(), sendKeys() and isDisplayed() in selenium?
16.What are the exceptions you know in selenium
17.When you will get elementnotinteractableexception
18.How to find more than one web element in the list?
19.What is difference between findElement() and findElements()?
20.What is the difference between driver.close() and driver.quit command?
21.Can Selenium handle web based based alerts?
22.How to mouse hover on a web element using WebDriver?
23.How to retrieve CSS properties of an element?
24.How to capture screenshot in WebDriver?
25.Can you automate the signup page which contains a captcha
26.What is the use of JavaScriptExecutor?
27.How to handle a dropdown in Selenium WebDriver? How to select a value from
the dropdown?
28.How to switch to a new window (new tab) which opens up after you click on a
link?
29. Can you enter text without using sendKeys()?
30.how can you find broken links in a page using Selenium WebDriver?
31.Which of the WebDriver APIs is fastest, And Why?
32.How do you pass credentials to an authentication popup in selenium?
33.How do you get value of a textbox in selenium?
34.What is the difference between “GET” And “NAVIGATE” methods?
35.What is the difference between getWindowHandle() And getWindowHandles()
methods?
36.What is the difference between close() and quit()?
37.What are the annotations available in TestNG/ jUnit?
38.How to skip a method or a code block in TestNG?
39.How does TestNG allow you to state dependencies? Explain it with an example.
40.What challenges have you faced with Selenium? And how did you overcome
them?
41.What benefits does TestNG have over the JUnit framework?
42.What is Group Test in TestNG?
43.Is TestNG capable of running multiple suites?
44.What is data-driven framework?
45.What is behaviour driven framework?
46.What is Page Object?
47.Explain about your framework
48.What do you use Selenium Grid?