How do you test XML data by using rational robot

Showing Answers 1 - 1 of 1 Answers

bizzzzzare

  • Oct 26th, 2007
 

Hi,

You can create an XML Object to read RootObject and associated child objects in Rational Robot.

set xObj = CreateObject("Microsoft.XMLDOM")
xmlDoc.async="false"
xmlDoc.load(:path of xml file:)
set NodeList  = xmlDoc.getElementsbyTagName("*") // specify incase u wish to retrieve specific elements


oNodeListLength =  NodeList.length

The above code would retrieve all elements from XML ans store them in a NodeList Collection.

Do post back incase of any queries.

Cheers

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions