CubicTest is a visual Eclipse plug-in for writing Selenium and Watir tests. CubicTest makes web tests faster and easier to write, as well as making it easier to write "tests first".
CubicTest's graphical test editor is centered around pages/states and transitions between these pages/states. The model is intuitive for both Ajax and traditional web applications and supports most user interaction types.
CubicTest is focused around testing "what you see" on the page, and not "testing the HTML source". To support this, CubicTest introduces a "context" concept that can be any HTML parent element, e.g. a table row. Using contexts, child elements of a context help identify each other. E.g. is easy to model user interactions such as "Press the 'Buy'-button that is in the same context (e.g. row) as the text 'xyz'".
Another feature of CubicTest is that page elements (and contexts) easily can be identified by multiple identifiers at the same time (e.g. "id" and "name"), and CubicTest will automatically build the required XPath expressions.
CubicTest comes with an extensible plugin architecture for running/exporting the tests and for recording new tests. Among the implementations provided are a Selenium RC test runner, a Selenium Core exporter and a Watir exporter. A recorder based on Selenium RC is also provided for recording directly into the Eclipse perspective, as well as a HTML mock-up exporter that can be used during test-driven development.
Click on the link to go to detail page: http://boss.bekk.no/cubictest/
Recommend the tutorial