Training > All Courses > Testing > Selenium

Course Summary

This is a 2-day bundle consisting of Intro to Selenium course (mostly focused on Selenium-IDE) and Advanced Selenium course (mostly about Selenium-RC).

Jump To: Duration Outline

Duration

2 days.

2 course(s)

Outline

Intro to Selenium   (1 day)

Functional Web Testing with twill

  • Overview and setup of twill
  • Basic twill
    • Working with forms
    • Cookies and twill
    • Working with variables
    • Using the shell
    • twill command line
    • Scripting twill
  • Advanced twill
    • Running other Python scripts using runfile and run
    • Handling strings and arguments
    • Debugging options
    • Output control
    • HTTP/Browser issues
    • Organizing your twill tests
    • Using testing frameworks
    • Recording test WITH scotch
  • twill Extensions
    • check_links for link checking
    • require for assertions about pages
    • csv_iterate for using CSV values in tests
    • argparse for command-line arguments
    • dirstack for changing directories
    • formfill for easy form management
  • twill and Python
  • Extending twill
    • Writing twill extension modules
    • Creating domain-specific languages in twill

 

Functional Web Testing with Selenium

  • Overview of Selenium
  • Intro to Selenium Core
  • Building a test suite in Selenium
    • Deploying and running tests
    • Recording tests with Selenium IDE
  • Selenium commands
    • Opening URLs
    • Clicking on links
    • Submitting forms
    • Checking checkboxes
    • Entering text in input fields
    • Selecting values in pull-downs
    • Verifying application state
    • Using variables
  • Using XPath Checker to locate page elements
  • Selenium and JavaScript
  • Selenium and Ajax

 

Testing Sample Application with twill and Selenium

  • Sample application overview
  • First step: charting test path
  • Second step: building test script
  • Third step: controlling the environment
  • Using Fixtures and Tests with unittest
  • Testing admin interface
  • Recording Selenium tests with Selenium IDE
  • Adding Test Conditions

Advanced Selenium   (1 day)

Selenium-RC

  • Selenium-RC overview and how it works
  • Setting up remote control
  • Converting Selenese scripts to programs
  • Learning the API
  • Browser considerations and support
  • Handling https and popups
  • Common problems

Test Design Best Practices

  • Test driven design and design of tests
  • What to test
  • Verifying test results
  • Choosing location strategy
  • Testing Ajax apps
  • UI mapping
  • Error handling

Selenium-Grid

  • Selenium-Grid overview

User-Extensions

  • User-Extensions overview
  • Actions
  • Accessors and Assertions
  • Locator strategies
  • Using User-Extensions with Selenium-IDE
  • Using User-Extensions with Selenium-RC

Selenium 2.0 with WebDriver

  • Various WebDriver implementations
  • Emulating Selenium-RC
  • Using xPath with WebDriver
  • Using WebDriver
  • Future roadmap