Forum Discussion
YMinaev
Staff
15 years agoHi,
The DOMParser object is defined by DHTML API that is not available for TestComplete by default. You can try using the following code snippet to accomplish your task:
For additional information, see the following MSDN Library articles:
XML DOM Methods
loadXML Method
The DOMParser object is defined by DHTML API that is not available for TestComplete by default. You can try using the following code snippet to accomplish your task:
// ...
var DOMDocument = new ActiveXObject("Msxml2.DOMDocument");
DOMDocument.loadXML(strXML);
// ...
For additional information, see the following MSDN Library articles:
XML DOM Methods
loadXML Method