52,046
  • Selenium Tutorial 1: Introduction to Selenium

    673,089 views 2 years ago
    http://www.gcreddy.com/2016......
    Introduction to Selenium tutorial explains that What is Selenium?, History of the Selenium Project and Selenium's tools suite. Selenium IDE features and Drawbacks, Selenium RC features, Selenium WebDriver features and Drawbacks, Selenium Grid features. Advantages and Disadvantages of Selenium.

    What is Selenium?

    • Selenium is a suite of software tools to automate Web Browsers.

    • It is an Open source suite of tools mainly used for Functional and Regression Test Automation.

    • Selenium supports various Operating environments.

    MS Windows

    Linux

    Macintosh etc...

    • Selenium supports various Browsers.

    Mozilla Firefox

    IE

    Google Chrome

    Safari

    Opera etc...

    Note: Selenium IDE supports Mozilla Firefox only.

    • Selenium supports various programming environments to write programs (Test scripts)

    Java

    C#

    Python

    Perl

    Ruby

    PHP
    ------------------------------------------------
    History of the Selenium Project

    • Selenium first came to life in 2004.

    • In 2006, Selenium WebDriver was launched at Google.

    • In 2008, the whole Selenium team decided to merge Selenium WebDriver with Selenium RC in order to form more powerful tool called Selenium 2.0
    ------------------------------------------------
    Selenium's Tools Suite

    Selenium IDE

    It is a Firefox browser plug in, used to create and execute Test cases.

    Selenium IDE features:

    • Create Test Cases, Test suites (We can Record test cases or type Test steps using element locators and Selenese commands)

    • Edit Test Cases

    • Execute Test cases, Test suites

    • Debug Test Cases.

    • Enhance Test Cases

    • Export Test cases to other formats (java, ruby etc...)

    Note: selenium IDE Test case default format is .html
    --------------------------------------
    Drawbacks of Selenium IDE

    • It supports Mozilla Firefox browser only.

    • It doesn't support Programming logic/features to enhance Test cases.

    • It doesn't support Data Driven Testing.

    • It is not suitable for complex test case design.

    • No centralized maintenance of Objects/Elements
    ---------------------------------
    Selenium WebDriver

    • It is a Programming interface to create and execute Test cases.
    ----------------------------------------
    Selenium IDE has IDE but doesn't have Programming interface

    Selenium WebDriver has Programming interface but doesn't have IDE

    UFT/QTP has both IDE as well as Programming interface
    -----------------------------------
    • Selenium WebDriver supports various programming environments to write programs.

    • Using Element/Object locators/properties and Webdriver Methods we can create and execute Test cases.

    • Selenium Webdriver supports various browsers to create and execute test case/test script/test

    Note: Browser driver varies from one browser to another.

    • Selenium WebDriver supports various operating environments

    Drawback of Selenium WebDriver

    • It doesn't generate detailed Test Reports.

    • No centralized maintenance of Object/elements
    ------------------------------------------------
    Selenium Grid

    • Selenium Grid is used to execute tests across multiple browsers, operating environments and machines in parallel.

    • Selenium Grid 2 supports Selenium RC Tests as well as Selenium WebDriver Tests.
    ------------------------------- Show less
    Read more
  • Uploads Play all

    This item has been hidden
  • Popular uploads Play all

    This item has been hidden
  • Selenium Step by Step Videos Play all

    Selenium Fundamentals and Features, Selenium IDE, Selenium RC, Selenium WebDriver, and Selenium Grid.
    Selenium Step by Step Tutorials cover Java Programming for Selenium, Selenium WebDriver, and TestNG Testing Framework.
    Java for Selenium: Java Environment Setup, Java Data types, Comments in Java, Java Variables, Java Operators, Java conditional statements, java loop statements, Java Methods, Java file handling, Java String handling, Java Inheritance, Java Abstraction, Polymorphism and Encapsulation.
    Java WebDriver: Element Locators, WebDriver API Methods, and Writing & Executing Selenium Test cases.
    TestNG Testing Framework: TestNG Annotations, Grouping Test Cases, Batch Testing, Data Driven Testing, Parallel Testing and Cross Browser Testing.
    This item has been hidden
to add this to Watch Later

Add to

Loading playlists...