PDF Notes: Selenium

    Master this deck with 21 terms through effective study methods.

    Generated from uploaded pdf

    Created by @crusean

    What is Automation Testing?

    Used to find defects in software through automated tools.

    What are the benefits of Automation Testing?

    Saves time and money through faster execution.

    What are the challenges of Selenium WebDriver?

    Cannot test mobile apps or windows applications.

    What types of tests can be automated?

    Regression, Smoke, and Sanity testing are commonly automated.

    What is a Framework?

    Defines rules and best practices for systematic testing.

    Why do you prefer Selenium Automation Tool?

    It is free and supports multiple programming languages.

    What is Selenium IDE?

    A Firefox plugin for recording and playing back scripts.

    What is Selenese?

    The language used to write test scripts in Selenium IDE.

    What is Selenium Grid?

    Runs tests on different machines and browsers in parallel.

    What is the difference between Assert and Verify in Selenium?

    Assert stops execution on failure; Verify continues regardless.

    What are Soft Assert and Hard Assert?

    Soft Assert collects errors; Hard Assert stops on failure.

    What is the difference between setSpeed() and sleep() methods?

    setSpeed() applies a delay to all operations; sleep() is one-time.

    What are the types of waits in Selenium WebDriver?

    Implicit, Explicit, and Fluent waits are available.

    What happens if you mix implicit wait and explicit wait?

    Can cause unpredictable wait times in the script.

    What is an XPath?

    Used to locate elements in an XML document.

    What is the difference between Absolute Path and Relative Path?

    Absolute starts from the root; Relative starts from any node.

    What is the fastest WebDriver implementation?

    HTMLUnitDriver is the fastest as it runs without a browser.

    What are the exceptions faced in Selenium WebDriver?

    Common exceptions include ElementNotVisibleException and StaleElementReferenceException.

    What is WebElement in Selenium?

    Represents an HTML element in a web page's DOM.

    What is Selenium WebDriver?

    A browser automation framework that communicates directly with browsers.

    What is the super interface of WebDriver?

    SearchContext acts as the super interface.