[Webtest] ANN: new custom step verifySchema

Lothar Märkle webtest@lists.canoo.com
Thu, 15 Sep 2005 16:57:26 +0200


On Thu, Sep 15, 2005 at 10:28:23PM +1000, Paul King wrote:
> When I get a chance, I'll see if trying to make it into a filter
> for CompareToExpected would make sense?
yes, it's just another way of comparison. But is it able to filter
something?

The common thing is the selection with xpath. One could think of xpath
as a filter, and passing around the selected nodes or serialized tree to
the comparison steps.


> Marc Guillemot wrote:
> >what about integrating it in the extension steps?
contributing patches made from cvs diff is far more easy.

lothar

> >
> >Marc.
> >Lothar Märkle wrote:
> >
> >>Hello Marc,
> >>
> >>
> >>>On Mon, Sep 12, 2005 at 03:00:02PM +0200, Marc Guillemot wrote:
> >>>
> >>>>Seems interesting. Can it validate xml files as well?
> >>>
> >>>
> >>>I did not try this, but it only uses the Page class and does not
> >>>distinguish HTML or XML. So it should work I think.
> >>
> >>
> >>I tried it and realized that HtmlPage and XmlPage are quite different
> >>for Xpath. So I looked at VerifyXPath and took this approach to support
> >>xml files as well. An updated version is uploaded to the wiki.
> >>
> >>greetings,
> >>  lothar
> >
> >_______________________________________________
> >WebTest mailing list
> >WebTest@lists.canoo.com
> >http://lists.canoo.com/mailman/listinfo/webtest
> >
> >
> 
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest

-- 
Lothar Märkle - lothar.maerkle@netpioneer.de
Netpioneer GmbH - Beiertheimer Allee 18a - D-76137 Karlsruhe
Tel: 0721 / 9 20 60 43
Fax: 0721 / 9 20 60 30