Hi,

Thanks Amelia for your response, when I try with XPATH my canoo test gives a message.

"Current response is not an HTML or XML page but of type text/plain (com.gargoylesoftware.htmlunit.TextPage)"

Now I am not sure how to read the elements of this plain text file using canoo. Can anybody suggest?

-Ruchika








---------[ Received Mail Content ]----------

Subject : Re: [Webtest] How to test the xml file contents using canoo?

Date : Wed, 13 May 2009 12:30:37 -0400

From : Amelia A Lewis <[email protected]>

To : [email protected]



On Wed, 13 May 2009 11:34:50 -0400 (EDT), Ruchika Badjatia wrote:

> My problem is while testing with canoo when I click one of my link it

> results in to a xml file. Now I have to read/verify the contents of

> that xml file using canoo. Has anybody done this before? Your help

> will be higly appreciated.



Use verifyXPath.



Amy!

--

Amelia A. Lewis amyzing {at} talsever.org

I don't know that I ever wanted greatness, on its own. It seems rather

like wanting to be an engineer, rather than wanting to design something,

or wanting to be a writer, rather than wanting to write. It should be a

by-product, not a thing in itself. Otherwise, it's just an ego trip.

-- Merlin, son of Corwin, Prince of Chaos (Roger Zelazny)

_______________________________________________

WebTest mailing list

[email protected]

http://lists.canoo.com/mailman/listinfo/webtest

_______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to