preload

Service Functions – MSXMLDOM (QTP, TestComplete, VBScript)

Posted by Albert Gareev on Jun 30, 2008 | Categories: Function libraryXML Data

In the code examples I present I often refer to routine functions. In my framework I have specialized libraries to call from.

In my blog I maintain the similar structure. 

XML DOM Root Object

CreateXMLDOMFromFile

CreateXMLDOMFromString

CreateXMLDOM

Special Nodes

XMLAddProcessingInstruction

Create/Find/Modify XML Element

GetXMLElementProperty

SetXMLElementProperty

CreateChildElementByName

ChildElementByName

ChildElementValueByName

GetChildElementByAttr

GetChildElementValueByAttr

SetChildElementByAttr

Manipulate Child Nodes (Text, Comment, Attribute, CData)

p_GetXMLElementComment

p_GetXMLElementCommentByIndex

p_SetXMLElementComment

p_SetXMLElementCommentByIndex

p_GetXMLElementText

p_GetXMLElementTextByIndex

p_SetXMLElementText

p_SetXMLElementTextByIndex

p_GetXMLElementCData

p_GetXMLElementCDataByIndex

p_SetXMLElementCData

p_SetXMLElementCDataByIndex

p_GetXMLElementAttrText

p_SetXMLElementAttrText

Advanced Operations

MoveChildElements

CopyChildElements

AppendChildElements

XMLElementDepth

XMLNode2Dictionary

XMLNodeSet2Dictionary


Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported
This work by Albert Gareev is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported.