Compendium Developments Software Testing Reviews, Essays and ToolsOnline Training course teaches how to learn to Automate Web Applications using Selenium 2 WebDriver with Java

 

First Edition Support For Selenium Simplified - Automated Web Testing with Java and Selenium RC

If you bought the first edition paperback then this page contains the support material created to help you.

If you are interested in the 2nd edition then read the main page.

Does it work with Selenium 2?

Selenium Simplified teaches the Selenium RC API. This API is perfect for people who want to get started with Selenium and is still used by many companies for their automation. The Selenium RC API is present in Selenium 2.0.

If you have the first edition then I wrote about the changes you will need to make as you work through the book in this blog post. There were very few changes required. The new Selenium 2.0 downloads are very backwardly compatible for the approach taken in Selenium Simplified.

Free Downloads

Errata For 1st Edition

I wrote about the changes you will need to make as you work through the book in Selenium 2 this blog post. There were very few changes required. The new Selenium 2 downloads are very backwardly compatible for the approach taken in Selenium Simplified.

Version @ 20/01/2011 and previous

Google Changes

Google has changed since the book was written, so some of the Google tests no longer work. If you encounter a test with Google which does not work then change the test as follows, instead of:

  • selenium = new DefaultSelenium("localhost", 4444, "*firefox", "http://www.google.com");

use:

  • selenium = new DefaultSelenium("localhost", 4444, "*firefox", "http://www.compendiumdev.co.uk");

Similarly for the open command, instead of:

  • selenium.open("http://www.google.com");

use:

  • selenium.open("selenium/search.php");

Typos

  • remove the spare 'selenium' at the end of the listing on page 198
  • On page 9 while I state that the steps are supported by "screen hots" I really mean "screenshots" or "screen shots"

CSS Selectors

on page 155 I state that "the items will be returned the order listed", I was mistaken. The order the items get returned can not be guaranteed so the examples using .getText presented may not work on later versions of Selenium or later browsers.