Forum Discussion
tristaanogre
9 years agoEsteemed Contributor
Consider using the native MSXML library available in Windows. You can create an instance of a DOMDocument object in TestComplete, load you sheet into it, and then use the various methods available in a native DOMDocument to find your child node. Create the object like so:
MyDom = Sys.OleObject('MSXML.DOMDocument')
MyDom.loadXML("C:\MyDir\mystyle.xsl")
You can then call MyDom.selectSingleNode to find the particular node you're looking for. If that doesn't work, you can use the "childNodes" property to traverse all the child nodes of the document to find the one you want. Or... some other method. The point is that you can use the MSXML library to do whatever you would do in any other situation.
Related Content
- 10 years ago
Recent Discussions
- 13 hours ago