Wednesday, September 27th, 2006p>Version 0.8 of the web application functional testing tool Selenium has been released.
Jeff Xiong explaing the new features:
- A "multiWindow" option which places the application-under-test in a separate window, allowing testing of "frame-busting" apps. In the past Selenium didn’t deal with the applications-under-test (AUT) which use frames very well, because it put the AUT in an embeded frame instead of stand-alone window. That was one of the largest problems preventing people from using Selenium. In 0.8, we provided an option to put the AUT in a stand-alone window, so that we can deal with all kinds of AUT actions that previously might have broken Selenium (e.g. change location of "window.parent" or "window.top"). This is the most important improvement in this new version.
- More reliable page-load detection for popup windows. There’s a bug makes firefox cannot detect "children" windows’ page-load status. That means with the combination of older version of Selenium and firefox, there may be some unpredicatable test failures. In this new version we provided a firefox plugin, which enhances firefox and makes the test more reliable.
- New cookie-management actions. The past versions cannot deal with cookies. Users had to set up cookie environment in AUT by themselves to test cookie-related functionalities like "login". 0.8 provided cookie-handling actions like "createCookie", "deleteCookie" and "storeCookie", so that users can setup and teardown cookie environment in test cases.
- Run-speed slider and "Pause" button which replace the old Run/Walk/Step radio-buttons. In past versions we provided only 2 different speed
options: fast "Run" and slow "Walk". In 0.8 we provided a slider to control the speed. Users can choose any speed between "very fast" and "very slow", allowing them to observe the tests in action.
Jeff has a nice article on Testing Ajax applications with Selenium over at InfoQ.