Testing Excellence

  • QA Basics
  • Technical QA
  • Agile Testing
  • Questions
  • Quizzes

Selenium WebDriver Quiz

This webdriver quiz is designed to test your knowledge of Selenium / WebDriver for Test Automation.

Selenium WebDriver Quiz

Time limit: 0

Quiz-summary

0 of 17 questions completed

Questions:

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17

Information

Selenium WebDriver Quiz

You have already completed the quiz before. Hence you can not start it again.

Quiz is loading...

You must sign in or sign up to start the quiz.

You have to finish following quiz, to start this quiz:

Results

0 of 17 questions answered correctly

Your time:

Time has elapsed

You have reached 0 of 0 points, (0)

Categories

  1. Not categorized 0%
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  1. Answered
  2. Review
  1. Question 1 of 17
    1. Question

    Selenium IDE is supported by which browser?

    Correct

    Incorrect

  2. Question 2 of 17
    2. Question

    In WebDriver, which command can be used to enter values onto text boxes? Select the best answer.

    Correct

    Incorrect

  3. Question 3 of 17
    3. Question

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

    Correct

    Incorrect

  4. Question 4 of 17
    4. Question

    Consider the following html snippet

    • Firefox
    • Google Chrome
    • Internet Explorer
    • Opera
    • Safari

    Which CSS selector is a valid statement to select Opera?

    Correct

    Incorrect

  5. Question 5 of 17
    5. Question

    In webdriver, which of the following is a valid select statement that selects a value from a drop down element?

    Correct

    Incorrect

  6. Question 6 of 17
    6. Question

    In webdriver, selectAllOptions() is a valid command.

    Correct

    Incorrect

  7. Question 7 of 17
    7. Question

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

    Correct

    Incorrect

  8. Question 8 of 17
    8. Question

    In webdriver, which command takes you forward by one page on the browser’s history?

    Correct

    Incorrect

  9. Question 9 of 17
    9. Question

    In webdriver, which methods navigates to a URL?

    Correct

    Incorrect

  10. Question 10 of 17
    10. Question

    In webdriver, deselectAll() is a valid command.

    Correct

    Incorrect

  11. Question 11 of 17
    11. Question

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

    Correct

    Incorrect

  12. Question 12 of 17
    12. Question

    Consider the following code snippet

    WebDriverWait wait = new WebDriverWait(driver, 30);
    wait.until(ExpectedConditions.presenceOfElementLocated(by));

    This is an example of an implicit wait.

    Correct

    Incorrect

  13. Question 13 of 17
    13. Question

    Implicit wait time is applied to all elements in your script and Explicit wait time is applied only for particular specified element.

    Correct

    Incorrect

  14. Question 14 of 17
    14. Question

    In webdriver, which method closes the open browser?

    Correct

    Incorrect

  15. Question 15 of 17
    15. Question

    Consider the following HTML code snippet

    1 2
    3 4

    driver.findElement(By.xpath(“//table/tr[1]/td”)).getText();

    Correct

    Incorrect

  16. Question 16 of 17
    16. Question

    The following codes both print:
    Welcome to TestingExcellence.com



    Welcome to TestingExcellence.com



    System.out.println(driver.getTitle());

    System.out.println(driver.findElement(By.tagName(“title”)).getText())

    Correct

    Incorrect

  17. Question 17 of 17
    17. Question

    What is the output of the following statement?

    Name 1
    Name 2

    driver.findElement(By.cssSelector(“#name”));

    Correct

    Incorrect








Selected Articles

  • Test Automation Problems
  • Test Automation Strategy
  • Agile Test Strategy example
  • How QAs add value in agile
  • Agile without automation
  • How agile killed managers
  • Agile testing challenges
  • Testing e-commerce websites
  • Role of QA manager in agile
  • Are you a good agile tester?
  • BDD tips and best practices
  • Myths of test automation
  • Test automation tips
  • Test automation pros & cons






Copyright © 2019 All rights reserved · www.testingexcellence.com

  • About
  • Contact
  • Subscribe
  • Privacy Policy
  • Terms of Use