andi smith

HTML5 Web Developer

Automating Canvas Applications Using Selenium

Released

Speaking.

Speaking at the Selenium Conference 2011 in San Francisco alongside Dave Hunt a QA analyst from Mozilla, we gave a presentation on how Selenium can be used to test canvas based applications. The presentation to a crowd of 300 attendees opened the first annual Selenium conference and was very well received.

Flying the helicopter

Due to the nature of canvas providing no footprint in the DOM it is difficult to use conventional methods to automate testing. Using an example of Dale Harvey’s HTML5 canvas game Helicopter we proved that with some extra thought, attention and careful programming it was possible to automate testing of the canvas element, and perhaps more importantly possible to fly the 8 bit helicopter through the narrowing cave for a better chance of survival.

Comments

Enjoyed this post? Follow me on Twitter!

No Comments

Leave a Comment

Your details

Name, Email and Comment are all required fields - your email address will not be published.

Your comment