Looks to me as if the server is misconfigured so it is serving your XML page with a MIME type of TEXT/PLAIN instead of TEXT/XML. Just an idea, of course.
________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Ruchika Badjatia Sent: 13 May 2009 23:46 To: [email protected] Cc: [email protected] Subject: Re: [Webtest] How to test the xml file contents using canoo? 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

