Exract data from XML using QTP - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: Exract data from XML using QTP (/Thread-Exract-data-from-XML-using-QTP) |
Exract data from XML using QTP - cowboy49 - 03-13-2012 Hello, I am currently trying to extract data from an XML file using QTP. This is fairly new to me so please bear with me. The XML file contains many "Operation" nodes. From these nodes, I want to filter the appropriate node based on Operation ID and Operation Type. After that, I want to capture all of the Condition IDs for this Node. I would appreciate greatly any information I can use to start and build on. Here is my sample code that need revision: Code: Set xmlDoc = XMLUtil.CreateXML() RE: Exract data from XML using QTP - rajeevszone - 03-25-2012 Code: Set oXML = CreateObject("Microsoft.XMLDOM") Test Automation and QTP - Excel with Ease provides a good reference on working with xml files RE: Exract data from XML using QTP - rajeevszone - 03-25-2012 Code: Set oXML = CreateObject("Microsoft.XMLDOM") Test Automation and QTP - Excel with Ease provides a good reference on working with xml files RE: Exract data from XML using QTP - cowboy49 - 03-27-2012 Thanks Rajeevszone. I suspected as much. Much appreciated. |