By InterviewMocks.
com
Selenium MCQ Quiz
Q1. Which of the following language is not supported by Selenium?
A. PHP
B. C#
C. ASP
D. Java
Q2. Which of the following method is used to work with multiple browser windows?
A. getMultipleWindows()
B. getWindowHandles()
C. getWindowhandle()
D. Both B & C
Q3. Which one is a class in Selenium?
A. WebDriverWait
B. WebElement
C. WebDriver
D. getPageSource
Q4. Selenium command for entering text into text boxes?
A. sendKey()
B. sendKeys()
C. sendKey
D. SendsKeys()
Q5. Which of the following is not a wait command in Selenium?
A. waitForAlert
B. waitForActive
C. waitForTitle
D. None of these
Q6. Select the odd one using in Selenium ___.
A. Pattern Matching
B. XPath
C. Id
D. CSS selector
Q7. What is the best call for finding multiple elements using XPath?
A. findElementsByXPath
B. findElementByXpath
C. findElementByCssSelector
D. None of the above
Q8. Is Web Driver a component of the Selenium?
A. Yes
B. No
Q9. Can Google chrome be supported by Selenium IDE?
A. Yes
B. No
Q10. Select the command that will NOT wait for a new page to load before moving onto
the next command.
A. clickAndWait
B. selectAndType
C. typeAndWait
D. selectAndWait
Q11. The Selenium ___.
A. provides professional customer support
B. test Reports are generated automatically
C. comes with a built-in object repository
D. cannot access elements outside of the web application under test
Q12. In Selenium variables are stored in ___.
A. storedVars
B. storedVariables
C. VariablesStore
D. All of the above
Q13. Can Unix operating system be supported by Selenium IDE?
A. Yes
B. No
Q14. What does the assertTitle checks?
A. Page title
B. Block title
C. Title of an element under focus
D. Element title
Q15. What is Selenium IDE?
A. Windows Software
B. Firefox Plug-in
C. Java Software
D. Flash Plug-in
Q16. ____ is an Advantage of Selenium WebDriver?
A. Supports Web based Applications only
B. No built-in Result Reporting facility
C. Open Source
D. None of the above
Q17. Selenium supports ___ Testing Level.
A. Unit Testing
B. Integration Testing
C. System Testing
D. Beta Testing
Q18. _________ is the use of Firebug in Selenium?
A. Programming
B. Inspecting Elements
C. Parallel Testing
D. Cross Browser Testing
Q19. What is Maven?
A. Testing Framework
B. Build Automation Tool
C. Test Tool
D. Programming Language
Q20. What is TestNG?
A. a testing framework inspired from JUnit and NUnit
B. programming language
C. Plateform
D. None of the above
Please Visit interviewmocks.com to download more pdfs