[Webtest] About XPathExplorer ....

Scot Hale webtest@lists.canoo.com
Fri, 07 Mar 2003 15:23:33 -0800


Hi All,

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



Scot Hale





----Original Message Follows----
From: "Siegfried Göschl" <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öschl
 > > Sent: Donnerstag, 6. März 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öschl Sent: Dienstag, 4. März 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ösungen.
 > > > >
 > > > > 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
 > > > > =================================
 > > > > 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*.  
http://join.msn.com/?page=features/featuredemail