Object Model Reference for GUI Testing > Utility Objects > CreateXML Method

XMLUtil Object

Description

The object used to access and return XML objects.

Methods

Method CreateXML Creates and returns an object of type XMLData.
Method CreateXMLfromFile Creates and returns an object of type XMLData.

Back to top

CreateXML Method

Description

Creates and returns an object of type XMLData. If a root name is specified, a new document is created containing the specified root tag.

Syntax

XMLUtil.CreateXML ( [RootName] )

Argument

Type

Description

RootName

String

Optional. The name of the root tag.


Back to top

CreateXMLfromFile Method

Description

Creates and returns an object of type XMLData.

Syntax

XMLUtil.CreateXMLFromFile( XMLFilePath)

Argument

Type

Description

XMLFilePath

String

The path of the XML file to load. This can be either a relative path or an ALM path.


Back to top

See also: