Failed upgrade to Struts 1.2.7
Yesterday I made an attempt to upgrade AppFuse to use Struts 1.2.7 instead of 1.2.4. Everything seemed to go smoothly until I started running my Canoo WebTests with JavaScript enabled. It turns out there's a major bug (IMO) in Struts 1.2.7 where the JavaScript rendered by Commons Validator can't handle the Struts' <form> tag in XHTML mode. I tried a nightly build (20050809), but it's not fixed there either, so I backed out the upgrade.
The interesting thing about Struts 1.2.7 is SpikeSource has certified this release. Are they not testing JavaScript as part of their certification test?
Another thing I attempted to upgrade yesterday was Canoo WebTest from build574 to build976. No dice - mainly because of issues with Prototype (I think). The worst part is everything works fine in a browser. Even worse is I still have a problem with build574, but it doesn't cause the tests to fail. Times like this make me wish Selenium was more polished and ready to use. I talked with some ThoughtWorkers last week and they said the Java driver is ready for a 1.0 release, but one of the committers wanted to make sure all language drivers were ready first (at least that's what I remember).
Besides, using it would help Selenium be more polished, since I think AppFuse has a bigger user base than Selenium alone ( ever had :) ).
Posted by Ahmed Momombe on August 10, 2005 at 06:19 PM MDT #
I have enable Struts (1.2.7) Validator while XHTML was enabled in pages.
Here are some hints:
Note:I have created a new empty decorator.
Posted by reza shahbazi on August 10, 2005 at 06:34 PM MDT #
- It would be cool if this small <a target="_blank" href="http://mir.aculo.us/articles/2005/08/07/functional-web-application-testing-with-automatic-recording">'Micarcle' from mir.aculo.us would get into Selenium. :)
Posted by Ahmed Mohombe on August 10, 2005 at 06:37 PM MDT #
Posted by Patrick Dumontel on August 10, 2005 at 06:51 PM MDT #
Posted by Niall on August 10, 2005 at 08:11 PM MDT #
The non-driven Fitnesse-style Selenium mode works just great, though.. I too wish the whole package was more polished.
Posted by Petey on August 10, 2005 at 08:24 PM MDT #
Posted by Shao Fang on August 11, 2005 at 12:28 AM MDT #
My colleague and I are the posters of the XHTML bugs in question. I am currently using 1.2.7 for current development with bugfixes from:
Let me know if that's the only thing stopping you, as its pretty easy to patch struts and commons validator via the above bug links even if the changes have not made it to HEAD yet.
Posted by Haroon Rafique on August 11, 2005 at 02:31 AM MDT #
Posted by Marc Logemann on October 17, 2005 at 09:37 PM MDT #