| By Ken Gardner | Article Rating: |
|
| March 30, 2008 04:00 PM EDT | Reads: |
2,671 |
Our Choice - Selenium
Selenium (open source) offers an alternative approach. It's implemented in JavaScript and Selenium tests run directly in the browser just like a real user. This approach lets Selenium support many browsers on many different platforms. This is the widest cross-browser support this author has seen to date.
Some Important Selenium features:
- Selenium tests are defined as simple HTML tables called "selenese" that define a simple and complete cross-browser event model. Supports Actions, Accessors, and Assertions.
- Ability to extend Selenium. The WaitForValue and WaitForCondition extensions in Selenium are an example. These commands are important in handling timing in designing AJAX tests.
- Cross-browser, cross-platform support
Windows:
• Internet Explorer 6.0 & 7.0
• Firefox 0.8-2.0
• Mozilla Suite 1.6+, 1.7+
• Seamonkey 1.0
• Opera 8 & 9
Mac OS X:
• Safari 2.0.4+
• Firefox 0.8-2.0
• Camino 1.0a1
• Mozilla Suite 1.6+, 1.7+
• Seamonkey 1.0
Linux:
• Firefox 0.8-2.0
• Mozilla Suite 1.6+, 1.7+
• Konqueror
• Opera 8 & 9
A very active support community is extending Selenium. It includes many open source contributors but also commercial software companies like Google, Tibco, and SOASTA.
Jason Huggins (who invented Selenium and wrote Selenium Core) now works at Google and is part of a project to implement Selenium on Google's grid technology. See the link to the Google Test Automation Conference video featuring Jason and Jen Bevan for more details on what Google is doing. You'll be impressed.
The Tibco General Interface is an open source AJAX framework. Earlier in 2007, Tibco released the Tibco General Interface Test Automation Toolkit, which is a version of Selenium with extensions to support testing the Ajax components in the Tibco General Interface.
In March of 2007, SOASTA announced its intent to provide a Web UI/AJAX/Flex testing solution as part of its strategy to provide a single integrated testing environment to support the automated testing of all Web tiers from the message layer through the browser UI. SOASTA's implementation will subsume the "selenese" event model implemented in Selenium Core into SOASTA's product architecture. This capability will become available in December 2007.
Summary
AJAX UI technology represents a major step forward for browser UIs but automated cross-browser testing remains challenging. Knowledge of the HTTP message stream is vital to designing successful test automation.
Available solutions require expert assembly (open source) or are developer frameworks that support writing code to test the browser UI.
Selenium delivers a different approach to solving this challenge and has gotten a lot of attention from Web developers and software vendors as a potential solution.
Resources
• Selenium: Selenium Core 0.8.3 Reference www.openqa.org/selenium-core/reference.html
• www.40withegg.com/2007/1/5/using-selenium-s-waitforvalue-waitforcondition-for-ajax-tests
• www.josephmoore.net/2005/11/using-seleniums-waitforvalue.html
• http://ajaxpatterns.org/Browser-Side_Test
• http://ajaxian.com/archives/squish-for-Web-testing-tool
• http://agiletesting.blogspot.com/2006/03/ajax-testing-with-selenium-using_21.html
• GTAC Presentation Jason Huggins & Jen Bevan www.youtube.com/watch?v=qxBatJ1N_Og
• GTAC Presentation Simon Stewart www.youtube.com/watch?v=tGu1ud7hk5I
• GTAC Presentation Apple Chow & Santiago Etchebehere www.youtube.com/watch?v=hWQdCdH77NA
• http://www.openqa.org/selenium-core/reference.html
Published March 30, 2008 Reads 2,671
Copyright © 2008 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Ken Gardner
Ken Gardner, executive chairman for SOASTA, is an industry veteran with more than 30 years in the enterprise software industry. He is a six-time entrepreneur having previously been the founder and CEO of Istante (acquired by Oracle in December 2004); Sagent Technology (IPO in April 1999); ReportSmith (acquired by Borland in March 1994); and ViewPoint Systems (acquired by Knowledgeware in June 1992). His first startup, in 1985, was Tesseract Corporation where he was senior vice president of Technology. From 1978 to 1985, he worked in R&D at Tymshare, Inc.
- Kindle 2 vs Nook
- Cloud Computing on Gartner's Top 10 List and SYS-CON Events' 2010 Calendar
- Confessions of a Ulitzer Addict
- IBM Hardware Chief, Intel VC Exec Arrested in Insider Trading Scam
- Tactical Cloud Computing Panel at 1st Annual GovIT Expo
- Ulitzer.com Named Exclusive "New Media" Sponsor of Cloud Computing Conference & Expo
- Moving Your RIA Apps into the Cloud: Seven Challenges
- Adobe’s Aiming ColdFusion at Multiple Clouds
- Windows 7 – Microsoft’s First Step to the Cloud
- Ulitzer Provides a Powerful Social Journalism Platform
- Jill Tummler Singer, Deputy CIO of CIA, Keynotes at GovIT Expo
- Open Source Mobile Cloud Sync and Push Email
- Kindle 2 vs Nook
- The Difference Between Web Hosting and Cloud Computing
- Cloud Computing on Gartner's Top 10 List and SYS-CON Events' 2010 Calendar
- Ajax in RichFaces 3.3, JSF 2 and RichFaces 4
- Confessions of a Ulitzer Addict
- IBM Hardware Chief, Intel VC Exec Arrested in Insider Trading Scam
- My Thoughts on Ulitzer
- Tactical Cloud Computing Panel at 1st Annual GovIT Expo
- Ulitzer.com Named Exclusive "New Media" Sponsor of Cloud Computing Conference & Expo
- US Post Office Hops a Ride on NetSuite’s Cloud
- Moving Your RIA Apps into the Cloud: Seven Challenges
- Adobe’s Aiming ColdFusion at Multiple Clouds
- Building a Drag-and-Drop Shopping Cart with AJAX
- What Is AJAX?
- Google Maps! AJAX-Style Web Development Using ASP.NET
- Flashback to January 2006: Exclusive SYS-CON.TV Interviews on "OpenAjax Alliance" Announcement
- AJAXWorld Conference & Expo to Take Place October 2-4, 2006, at the Santa Clara Convention Center, California
- AJAX Sponsor Webcasts Are Now Available at AJAXWorld Website
- How and Why AJAX, Not Java, Became the Favored Technology for Rich Internet Applications
- "Real-World AJAX" One-Day Seminar Arrives in Silicon Valley
- AJAXWorld University Announces AJAX Developer Bootcamp
- AJAX Support In JadeLiquid WebRenderer v3.1
- Where Are RIA Technologies Headed in 2008?
- Struts Validations Framework Using AJAX







































