[Webtest] About XPathExplorer ....

Goeschl Siegfried webtest@lists.canoo.com
Mon, 10 Mar 2003 13:13:54 +0100


When you are using the Canoo Webtest Plugin for MAVEN you don't get any =
htmlparseroutput!!

I stepped back to the original JARs from the distribution and then I see =
html parsing errors. The reason seems to be a missing =
HTMLParserErrorListener (or somehing like that) in the current releases =
of HTTPUnit. You give it a try by commenting out the Canoo Webtest =
related JARs in the project.xml (nekohtml, httpunit, webtest and =
webtest-antrunner) and placing the orginal JARs into webtest/jar

Trouble is that JTidy is sort of obsolete for the HTTPUnit.=20

Cheers

Siegfried Goeschl

-----Original Message-----
From: Scot Hale [mailto:halesm@hotmail.com]
Sent: Saturday, March 08, 2003 12:24 AM
To: webtest@lists.canoo.com; webtest@gate.canoo.com
Subject: Re: [Webtest] About XPathExplorer ....


Hi All,

I am running into similar problems.  I can't figure out why a form =
submit=20
isn't working ant the htmlparseroutput isn't helpful (I don't see =
anything=20
wrong).
    Is there a way to do a toString() on the HTML DOM to see if there is =
a=20
problem with it?  It would be a cool feature if we could turn debug on =
and=20
print it out to the log.
    I am really hesitant to download the source and build the seperate =
api's=20
that webtest uses, is there any other way at present?



Scot Hale





----Original Message Follows----
From: "Siegfried G=F6schl" <siegfried.goeschl@it20one.at>
Reply-To: webtest@lists.canoo.com
To: webtest@gate.canoo.com
Subject: [Webtest] About XPathExplorer ....
Date: Thu, 06 Mar 2003 14:15:14 +0100

Wow, the XPathExplorer is COOOOL ....

Thanks,

Siegfried Goeschl


On 6 Mar 2003 at 12:52, Bernhard Wagner wrote:

 >
 > Why not use httpunit's WebResponse.getDOM()? Since httpunit already
 > does the parsing for you? Or look at xpe:
 > http://www.purpletech.com/xpe/index.jsp which also uses httpunit.
 >
 > Bernhard
 >
 > > -----Original Message-----
 > > From: webtest-admin@lists.canoo.com
 > > [mailto:webtest-admin@lists.canoo.com]On Behalf Of Siegfried =
G=F6schl
 > > Sent: Donnerstag, 6. M=E4rz 2003 11:46 To: webtest@gate.canoo.com
 > > Subject: RE: [Webtest] Request for comment: Dumping HTML DOM or
 > > XPATH
 > >
 > >
 > > Thanks for the help - I will have a look at it. Originally I =
thought
 > > along the lines parsing the HTML result of Canoo Webtest with
 > > NekoHTML, transforming the result into a DOM tree and getting the
 > > XPath expression by recursing down to the text nodes - assuming =
that
 > > I have not forgotten to program in Java ... :-)
 > >
 > > I implemented something similar with DOM4J a while ago - but I have
 > > to make up my mind if this is really useful.
 > >
 > > My original problem stems from invalid HTML swallowed from NekoHTML
 > > - and I need a quick way to detect such problems the next time.
 > >
 > > Thanks,
 > >
 > > Siegfried Goeschl
 > >
 > > On 6 Mar 2003 at 10:05, Dierk Koenig wrote:
 > >
 > > > There are some HTML Editors on the market that show local or
 > > > fetched HTML as DOM Tree. I searched the web for it and found
 > > > some. However, I didn't put much time into further evaluation.
 > > >
 > > > Carsten mentioned that there also is a solution at mozilla.org
 > > > that does this trick.
 > > >
 > > > any experiences?
 > > >
 > > > cheers
 > > > Mittie
 > > >
 > > > > -----Original Message-----
 > > > > From: webtest-admin@lists.canoo.com
 > > > > [mailto:webtest-admin@lists.canoo.com]On Behalf Of Siegfried
 > > > > G=F6schl Sent: Dienstag, 4. M=E4rz 2003 20:23 To:
 > > > > webtest@lists.canoo.com Subject: [Webtest] Request for comment:
 > > > > Dumping HTML DOM or XPATH
 > > > >
 > > > >
 > > > > Hi folks,
 > > > >
 > > > > I'm currently rolling out Canoo Webtest (i.e. the Maven Plugin)
 > > > > at the testing department of Together Teaml=F6sungen.
 > > > >
 > > > > For simple creation of test scripts a debugging output of the
 > > > > HTML DOM (either parsed by JTidy of NekoHTML) or a list of =
XPath
 > > > > expression for the HTML DOM (mapping from XPath to content)
 > > > > would be helpful.
 > > > >
 > > > > Any ideas or opinions out there?!
 > > > >
 > > > > Thanks in advance ...
 > > > >
 > > > > Siegfried Goeschl
 > > > > CTO
 > > > > =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D
 > > > > IT20one GmbH
 > > > > mail: siegfried.goeschl@it20one.at
 > > > > phone: +43-1-9900046
 > > > > fax: +43-1-52 37 888
 > > > > www.it20one.at
 > > > > _______________________________________________
 > > > > 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
 > > >
 > >
 > > _______________________________________________
 > > 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
 >



_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest


_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. =20
http://join.msn.com/?page=3Dfeatures/featuredemail

_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest