[Webtest] making a dynamic page xhtml compliant

Costin webtest@lists.canoo.com
Mon, 22 Nov 2004 21:22:57 +0200


Hi.

Getting the tests ready is getting harder and harder. I just
discovered after a significant amount of time that xpath doesn't work
as expected on our pages simply because they are not xhtml compliant.
I get strange errors and especially on the bigger pages I can find
only the first tag out from the list and the only explanation is the
structure of the page.

I tried using JTidy but because our pages are dynamically generated
(using Velocity), everything is mixed up in the end. Does anyone here
has some kind of tool to recommend which can digest Velocity or some
procedure to make this faster?

We have tried commenting the .vm code to get things running but the
code is complex and mixed and it is simply impossbile to do this.

Thanks

Costin