Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Beginning Selenium WebDriver and Java Training
Rating: 3.4 out of 5(15 ratings)
286 students
Created byMartin Lienhard
Last updated 12/2016
English

What you'll learn

  • At the end of this course you will be able create Page Objects using Selenium-WebDriver commands.
  • Locate WebElements by HTML IDs and names, XPath and CSS Selectors.
  • Run test scripts on every browser from the command line using ANT and Maven.
  • Pass TestNG suite parameters to test scripts
  • Model and create Page Objects and use the Page Factory
  • Work with dynamic AJAX elements with WebDriverWait
  • Create test scripts using the JUnit and TestNG unit test frameworks
  • Manage and build the Java project using ANT and Maven POM

Course content

3 sections16 lectures3h 31m total length
  • About the instructor3:45
  • Document - Create a WebDriver, Java, JUnit and ANT Project11:00

    Install Java, Ant, JUnit, Eclipse, WebDriver

    Install Firefox, Firebug, and Chrome

    Analyze the web page and locate WebElements using HTML IDs and names, XPath and CSS Selectors

    Create a JUnit test script

    Exploring JUnit annotations

    Start-up and shut-down WebDriver

    Explaining the WebDriver commands and WebDriverWait

    Create an Ant build file

    Run JUnit from Ant

  • Video - Install Java, JUnit, ANT and WebDriver10:33

    Install Java, Ant, JUnit, Eclipse, and WebDriver

    Set the environment variables

    Create a Java project

    Create a JAR library

    Configure the build path

  • Video - Create a WebDriver JUnit Test Script24:37

    Create a Java project

    Analyze the web page and locate WebElements using HTML IDs and names, XPath and CSS Selectors

    Create a JUnit test script

    Exploring JUnit annotations

    Start-up and shut-down WebDriver

    Explain the WebDriver commands and WebDriverWait

  • Video - Run a WebDriver JUnit Test Script from ANT10:03

    Create an Ant build file

    Explain the ANT targets

    Build the project with ANT

    Run JUnit from Ant

    Generate JUnit report

  • Video - Inspecting WebElements with the Chrome browser developer tools12:14

    Use the Chrome Developer tools

    Analyze the web page and locate WebElements using HTML IDs and names, XPath and CSS Selectors

  • Video - Inspecting WebElements with the Safari browser developer tools5:50

    Use the Safari Developer tools

    Analyze the web page and locate WebElements using HTML IDs and names, XPath and CSS Selectors

  • Video - Inspecting WebElements with the Opera browser developer tools8:50

    Use the Opera Developer tools

    Analyze the web page and locate WebElements using HTML IDs and names, XPath and CSS Selectors

  • Video - Inspecting WebElements with the Firefox/Firebug browser developer tools14:34

    Use the Firefox Firebug Developer tools

    Analyze the web page and locate WebElements using HTML IDs and names, XPath and CSS Selectors

Requirements

  • Basic Java familiarization
  • Windows, Mac, or Linux computer

Description

This beginning course will walk the learner through the basics of Selenium-WebDriver test automation in the Java programming language.

This includes common WebDriver commands, WebDriverWait and AJAX elements, invoke browsers in parallel using FirefoxDriver, ChromeDriver, SafariDriver, and InternetExplorerDriver. Analyze web pages to model and create Page Objects, and use the Page Factory. Use locator strategies to identify WebElements by ID, Name, CSS Selectors and XPath.

Explore the JUnit and TestNG unit test frameworks for UI test scripts, test suites, parameters, execution, and reporting. ANT and Maven project management, builds, and command line execution.

This course includes 3.5 hours of instructional videos and 25 pages of instructional procedures including complete project code.

Who this course is for:

  • Quality Assurance professionals and Software Testers interested in learning WebDriver to transition from manual testing to automated testing