Due to the high number of requests for making FlashSelenium directly test the UI components of a Flex application, we got involved in a new open source project: flex-ui-selenium. The new component, FlexUISelenium, is used with Selenium RC for testing Flex UI interactions.

The Flash/Selenium RC client extension is available for the following Selenium RC client drivers: Java, .Net, Ruby and Phyton. The Selenium RC client extensions --FlashSelenium components—are available in the Downloads session.

The WebDriver framework provides an interface that concrete implementations for each browser can implement in order to provide access to the browser's JavaScript engine. Both the Firefox and Chrome drivers provide such implementations. The code for FlexWebDriver below uses this interface to execute a piece of anonymous JavaScript to call the exposed functions from FlexSelenium.