XML modules

The technology-specific modules for XML can validate XML files, create XML resources, save changes to XML files, open or create XML files, and more.

XSD Validation

Validates an XML fine against an XSD.

Value

Description

Path to XML

Full path to the XML file. Use action mode Select.

Path to XSD

Full path to the XSD file. Use action mode Select.

Get XML from Connection

Creates an XML resource from an existing file resource.

Value

Description

ConnectionResource

Name of the existing resource.

XmlResource

Name of the resource you want to create from the existing resource.

Save XML file

Transfers the modifications you made to the resource to the connected XML file.

Value

Description

Resource

Name of the resource.

Filepath

Optionally, full path to the XML file where you want to save the content of the resource. Use it if you want to save to a different file than the file from which the resource was loaded.

Use BOM

Optionally, specify whether you want to use a byte order mark (BOM) at the beginning of the XML file. To do so, enter True.

Open/Create XML file

Performs the following actions:

  • Create a new XML file

  • Load an existing file as Resource

Value

Description

Resource

Name of the resource. Use action mode Select.

Filepath

Full path to the file. Use action mode Select.

Create XML Resource

Creates an empty XML resource.

Value

Description

Resource

Name of the resource.

Verify XML

Verifies XML resource contents by using DotNet XPath expressions.

Value

Description

Resource

Name of the resource.

XPath

Enter a DotNet XPath expression between quotation marks.

By default, the DataType is RawString. Tosca Cloud sends RawString data exactly as entered to the system under test. No need to escape special characters.

Content

Enter the expected result and use action mode Verify.

Evaluate XPath

Evaluates DotNet XPath expressions and to verify or buffer the result.

Value

Description

Resource

Name of the resource.

XPathExpression

Enter a XPath expression that you want to evaluate. Specify with single quotes.

By default, the Data Type is RawString. Tosca Cloud sends RawString data exactly as entered to the system under test. No need to escape special characters.

To use dynamic expressions, select the Data Type String.

EvaluationResult

Result of the XPath expression. You can verify or buffer the result.