Hi Marc,
On 16 Jun 2009, at 10:46, Marc Guillemot wrote:
> Hi Ian,
>
>> Couple of questions ...
>>
>> 1) The NormalizeXml filter only applies the filter to pages of class
>> "com.gargoylesoftware.htmlunit.xml.XmlPage" - and gives the warning
>> "WARN : Ignoring non-XML response
>> (com.canoo.webtest.extension.NormalizeXmlFilter)". I would find this
>> normalize functionality useful for pages of class
>> "com.gargoylesoftware.htmlunit.html.HtmlPage" ... is this an
>> appropriate
>> request for me to raise in Jira?
>
> if you have usage of it, yes.
DONE -
http://webtest-community.canoo.com/jira/browse/WT-528
> I guess that it wasn't easy to do at the time where NormalizeXmlFilter
> has been written but since HtmlUnit's HTML Dom implements standard DOM
> interface it should now be straightforward.
>
>> 2) Is there a way for me to create and use my own steps / filters?
>> Adjusting the NormaliseXml filter to filter HtmlPages would
>> possibly be
>> a simple change and it'd be great to be able to create a custom
>> step and
>> then I could submit the request as a working example.
>
> quite easy: just define your class and register it in the Ant
> project in
> place of NormaliseXml.
We use canoo with maven and groovy (as helped massively by your
article -
http://mguillem.wordpress.com/2009/04/30/webtest-with-groovy-maven-and-eclipse/)
- is there an analgous way of registering the custom class in maven/
groovy projects as in ant projects?
thx
--
Ian Homer
mobile ... made simple
http://bemoko.com |
http://twitter.com/ianhomer_______________________________________________
WebTest mailing list
WebTest@...
http://lists.canoo.com/mailman/listinfo/webtest