Selenium Testing
Selenium Testing
iq 20 questions
Selenium Webdriver is the most preferred tool for automated testing of web applications. It has evolved
from Selenium RC to now Selenium 3.0 to keep up with the market trend. Here is the best Selenium quiz
with some most relevant and the latest questions to test your acquaintance of this subject.
With the help of Selenium, we can simulate actions on websites like a real user does. It provides a rich
set of APIs that we can use to capture a full business workflow for testing the functionality of any web
application. Thus, it helps in reducing a lot of manual testing efforts and has now become a W3C
standard. It can even work as a cross-browser automation tool for web application testing.
Also, with the rise of online startups, the requirement of web test automation tools like the Selenium
Webdriver is growing at a fast pace. Hence, it is important for us to cover this topic in detail. The
readers who can spend more time learning Selenium should refer to the latest set of Selenium interview
questions from our blog. It could be a great resource for all Software test engineers.
However, in this Selenium quiz, we’ll focus on how to use Selenium APIs, Web-drivers for various
browsers, handle HTML objects, and different locators. We hope that it’ll be fun for you all to attempt this
interesting online test.
Hopefully, you would have made the most out of this Selenium quiz. Please don’t forget to share this
post on facebook, twitter and other social media platforms of your choice. To view the correct answers,
please press the View questions button shown below. ▲
Restart quiz View questions
1. Question 10 points
Which of the following commands is used to print a string value or a variable in Selenium IDE?
1. print
2. display
3. echo
4. printf
2. Question 10 points
1. textToBePresentInElement()
2. frameToBeAvailableAndSwitchToIt()
3. elementToBeClickable()
4. titleIs()
5. isAlertPresent()
3. Question 10 points
1. accept()
2. getText()
3. dismiss()
4. sendKeys(String stringToSend)
5. ignore()
4. Question 10 points
1. ASP
2. Perl
3. PHP
4. Cobol
5. Question 10 points
1. Selenium RC
2. Selenium IDE
3. SeleniumGrid
4. Selenium Web
6. Question 10 points
1. back()
. bac ()
2. moveto()
3. forward()
4. goto()
5. refresh()
7. Question 10 points
Which of the following WebDriver methods is used to select the option at a given index?
1. selectIndex()
2. selectedByIndex()
3. selectByIndexes()
4. selectByIndex()
8. Question 10 points
Which of the following WebDriver methods is used to clear all selected entries?
1. deselectAll()
2. deselect_All()
3. dselectAll()
4. dselect_All()
9. Question 10 points
Which of the following exceptions is not an ideal candidate to ignore via FluentWait?
1. NoAlertPresentException
2. ElementNotVisibleException
3. TimeoutException
4. NoSuchElementException
1. Checked
2. Error
4. Unchecked
3. Safari driver will get native support from Apple on MacOS (Sierra or later).
5. No out of the box support for Firefox Webdriver after 47.0.1. Use Geckodriver for newer
versions.
1. WaitFor
2. Assert
3. Wait
4. Verify
1. XSD
2. DOM
3. ID
4. Name
5. CSS
1. caps.setCapability("marionette", true);
3. driver.get("http://www.google.com");
What type of Wait objects keep alive until the WebDriver object dies?
1. Explicit Wait
2. Fluent Wait
3. Implicit Wait
1. ElementNotSelectableException
2. NoElementFoundException
3. ElementNotVisibleException
4. NoSuchElementException
5. StaleElementReferenceException
1. Xebium
2. FlexUISelenium
3. SeleniumFlex
4. FlexUI
1. Windows
2. Mac OS X
3. Unix
4. Solaris
5. Linux
▲
Which of the following statements won’t hold true for Selenium 3.0?
1. In Selenium 3, all the major browser vendors ship their own WebDriver implementations except
Mozilla.
2. In Selenium 3, all the major browser vendors ship their own WebDriver implementations except
Apple.
3. In Selenium 3, all the major browser vendors ship their own WebDriver implementations except
IE.
4. In Selenium 3, all the major browser vendors (Apple, Google, Microsoft, and Mozilla) ship a
WebDriver compatible to their browser.
Which of the following WebDriver commands is used to check the presence of a web element?
1. isElementExist
2. isElementPresent
3. verifyTextPresent
4. verifyElementPresent
OPEN
Note: You can find all the answers towards the end of this quiz. Please click here to download Selenium Webdriver.
The rise of online startups is contributing to the growth of web test automation tools like Selenium
Webdriver. Also, it is quite easy to integrate Selenium with programming languages like Java and Python.
If you like to use Selenium with Python, then reading the below tutorial would be worthy of your time.
Next, we hope that all the software developers and test engineers would benefit from the quiz. They will
appreciate us for our continuing efforts to share knowledge. We want to assure them that we’ll keep
coming with new quizzes on important subjects and will update the earlier ones as well.
Please support us in our online training drive by sharing this post with your friends and on social media
platforms (facebook/twitter).
Best,
TechBeamers.
RELATED
Selenium Testing Quiz – Updated WebDriver Quiz Part2 – 20
2019 Selenium Questions
© 2019 TechBeamers.com