Forum Discussion
joakim_schweize
15 years agoNew Contributor
Hi Allen
Thanks for your reply.
I have been trying to figure out how one can use the XML comparison checkpoint to compare webpages as you said should be possible, and so what I have does is that I first copied all the HTML source data from the Web Testing comparison file into an XML comparison file.
I then setup the XML comparison checkpoint to compare this XML file (now containing HTML) with the live webpage I am trying to compare it too (by pointing to the webpage object the same object as the Web Comparison checkpoint pointed to when I was trying to use that), but when I run the checkpoint the log returns: "Unable to load data. Please specify a URL or an IXMLDOMDocument object."
If I try to setup the XML checkpoint to compare the stored XML file (now containing HTML) to the URL of the page I am trying to compare it too, I get: "The 'https://webpage/example' document is invalid. Error: System error: -2146697208.".
Sorry, but I'm gonna need a little more help to understand how I can use the XML comparison checkpoint for my purpose.
Thanks.
BR
Joakim
Thanks for your reply.
I have been trying to figure out how one can use the XML comparison checkpoint to compare webpages as you said should be possible, and so what I have does is that I first copied all the HTML source data from the Web Testing comparison file into an XML comparison file.
I then setup the XML comparison checkpoint to compare this XML file (now containing HTML) with the live webpage I am trying to compare it too (by pointing to the webpage object the same object as the Web Comparison checkpoint pointed to when I was trying to use that), but when I run the checkpoint the log returns: "Unable to load data. Please specify a URL or an IXMLDOMDocument object."
If I try to setup the XML checkpoint to compare the stored XML file (now containing HTML) to the URL of the page I am trying to compare it too, I get: "The 'https://webpage/example' document is invalid. Error: System error: -2146697208.".
Sorry, but I'm gonna need a little more help to understand how I can use the XML comparison checkpoint for my purpose.
Thanks.
BR
Joakim
Related Content
Recent Discussions
- 6 minutes agoashly