Book Image

Learning Selenium Testing Tools - Third Edition

Book Image

Learning Selenium Testing Tools - Third Edition

Overview of this book

Table of Contents (22 chapters)
Learning Selenium Testing Tools Third Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Self-test questions


  1. What is the main language that drives Selenium IDE?

    1. Ruby.

    2. Python.

    3. JavaScript.

  2. Selenium IDE works on Internet Explorer.

    1. True.

    2. False.

  3. Selenium verifies items on the page when it is recording steps.

    1. True.

    2. False.

  4. What is the difference between verify and assert?

  5. If you wanted to validate that a button had appeared on a page, which two commands would be the best to use?

    1. verifyTextPresent / assertTextPresent.

    2. verifyElementPresent / assertElementPresent.

    3. verifyAlertPresent / assertAlertPresent.

    4. verifyAlert / assertAlert.

  6. If an element got added after the page loaded, what command would you use to make sure the test passed in the future?

    1. waitForElementPresent.

    2. pause.

    3. assertElementPresent.

  7. How do we run all the tests in a test suite?