| Snaprecruit.com

| Snaprecruit.com

Interview question based on skill :

Take as many assements as you can to improve your validate your skill rating

Total Questions: 5

1. Selenium IDE is supported by which browser?

Correct Answer is : Mozilla Firefox

2. In webdriver, which of the following commands retrieves the text of a html element?

Correct Answer is : getText()

3. In webdriver, which method closes the open browser?

Correct Answer is : close()

4. In webdriver, what is the method that counts the number of elements?

Correct Answer is : driver.findElements(By.id("search")).size()

5. Which WebDriver method is used to change focus to an alert, a frame or a browser window?

Correct Answer is : switchTo()