04-18-2008, 06:03 PM
Hi everybody!
I need to read XML files in, and therefore found the XMLUtil object provided by QTP or Microsoft or something similar.
This is from the QTP Help:
Example
The following example creates an XML object and loads the XML file BookStore.xml into it.
My line is
The problem is: This does not work! Whenever I try this (using my file, or bookstore, whatever) I get this error:
"The remote server returned an error: (404) Not Found"
(I definately know the file exists!)
So, what is this all about? At least the error message is a bit more exact than the usual "General Run Error"
Thanks!!!
Cheers,
CC
I need to read XML files in, and therefore found the XMLUtil object provided by QTP or Microsoft or something similar.
This is from the QTP Help:
Example
The following example creates an XML object and loads the XML file BookStore.xml into it.
Code:
Set XMLObj = XMLUtil.CreateXMLFromFile("C:\XML\BookStore.xml")
My line is
Code:
Set XMLObj = XMLUtil.CreateXMLFromFile("C:\test.xml")
The problem is: This does not work! Whenever I try this (using my file, or bookstore, whatever) I get this error:
"The remote server returned an error: (404) Not Found"
(I definately know the file exists!)
So, what is this all about? At least the error message is a bit more exact than the usual "General Run Error"
Thanks!!!
Cheers,
CC