Object Model Reference for GUI Testing > Supplemental Objects > Name Property

XMLAttribute Object

Description

An object representing an XML element attribute. This object can be accessed using one of the following methods:

Properties

Method Name Returns the attribute's name.
Method Namespace Returns the attribute's namespace.
Prefix Returns the prefix (name) of the attribute's namespace.
Value Returns the attribute's value.

Back to top

Name Property

Description

Returns the attribute's name.

Syntax

XMLAttribute.Name

Return Value

String


Back to top

Namespace Property

Description

Returns the attribute's namespace.

Syntax

XMLAttribute.Namespace

Return Value

String


Back to top

Prefix Property

Description

Returns the prefix (name) of the attribute's namespace.

Syntax

XMLAttribute.Prefix

Return Value

String


Back to top

Value Property

Description

Returns the attribute's value.

Syntax

XMLAttribute.Value

Return Value

String


Back to top