Selenium Simplified - Automated Browser Testing With Selenium WebDriver Made Simple

Jun 16, 2011 - 1 minute read - Selenium Simplified Selenium Simplified Blog

Welcome to

Selenium Simplified is a book about learning to use the Selenium 1.0 API using Java Available on Amazon: For more details on the book, visit the publishers page, where you can: Buy the e-book Read a free preview View the Table of Contents Learn More Selenium Simplified can be used with Selenium 2 as this blog post describes.

Jun 14, 2011 - 6 minute read - Migrating to WebDriver Selenium Simplified Selenium Simplified Blog Selenium-RC WebDriver

Can I use Selenium Simplified with Selenium 2?

Note: This post was originally written for Selenium 2.0rc2 I have updated it for Selenium 2.0.0 and IDE 1.0.12. And now with supporting video: link to video Tutorial video on Selenium 2 with Selenium Simplified Book Selenium has changed since I wrote Selenium Simplified. Selenium Simplified targets the Selenium 1.0 API. This has not changed in Selenium 2.0 Selenium 2.0 bundles together the Selenium 1.0 server and API and the WebDriver code base.

Jun 3, 2011 - 2 minute read - Selenium Simplified Blog WebDriver

Selenium 2.0rc2 - Hey, where's my unashamedly ugly wait

Warning, this blog post contains Java code. Some testers may want to look away now. I was quite happy using the unashamedly ugly Selenium Wait class, for adhoc waits that I did not want to refactor into proper classes. e.g.         new Wait(“JS Page title did not change”){             @Override             public boolean until() {                 try{                     return driver.getTitle().startsWith(TITLE_OF_PAGE_STARTS_WITH_THIS);                 }catch(Exception e){                     // ignore not found exception

May 24, 2011 - 3 minute read - Selenium Simplified Blog WebDriver

When automating, do you wait before or after the event?

As I worked on the code for my “migrating to selenium 2.0” workshop at Tony Bruce’s Skills Matter event recently. One of my automation challenges involved waiting for an element to have clickability. It existed in the DOM, visible, and all other rendered event style isCondition()s. But when clicked on, it could not respond to events. For a reason of bias, I spent far too many minutes banging my head against the automation wall.

Apr 2, 2010 - 3 minute read - Selenium Simplified Blog Selenium-RC

Selenium Example – How to Amend the JavaScript of the Web Application Under Test

Why would you want to change the JavaScript of a web application you have to test? Well, if you want to test that events get triggered correctly and the basic structure of the page rather than the actual functionality implemented by the JavaScript. Perhaps the JavaScript does something that you can’t handle with the automation tool, but you still want to cover the basics of the page? This code snippet shows one way to do it.