With the Web 2.0 dom inspector, you have the beginnings of a system to produce functional tests for web apps.
Canoo web test is a nice project that wraps HtmlUnit in ant tags, so you can write html tests in xml.
If you could right click on a DOM element, and say “Add assertion to web test” and this automagically created a Canoo web test tag in your current test file, this would be a very powerful system, as the biggest pain in creating tests in wading through the source of html files to find the element you are interested in testing.
I guess that there would have to be a lot of magic going on here, and maybe the canoo licence might prevent redistribution?
An idea anyway.
Cheers,
Jon