p_GetXMLElementAttrText (QTP, TestComplete, VBScript)
Parent page: Service Functions – MSXMLDOM (QTP, TestComplete, VBScript)
Description
Returns value of a child attribute.
Implementation
Private Function p_GetXMLElementAttrText(ByRef objXMLElement, ByVal sAttrName)
Dim sResult
sResult = objXMLElement.GetAttribute(sAttrName)
If isNull(sResult) Then
sResult = ""
End If
p_GetXMLElementAttrText = sResult
End Function

