XML Tree/Options Area (Output Value Properties Dialog Box) - XML Output Values
Relevant for: GUI tests and scripted GUI components
This topic is part of the Output Value Properties Dialog box.
For XML output values, the Output Value Properties dialog box displays an XML tree and options section to enable you to select the XML elements to output:
XML Tree
- Note:
- The XML tree displays the hierarchical relationship between each element and value in the XML tree, enabling you to select the element and/or attribute values that you want to output. Each element node is displayed with a
icon. Each value node is displayed with a
icon.
- When you create an XML output value for an operation return value, only a generic XML tree is created and shown in the XML Output Properties dialog box. Before you can select which element or attribute values you want to output, you must populate the XML tree with the actual elements, attributes, and values.
- Select the checkbox for an element or value node in the XML tree to indicate that you want to output a value for that node.
- Select an element node in the XML tree to display or set output options for its attributes and values on the right of the XML Output Properties dialog box.
The following commands are available according to the node you select in the tree:
Command |
Icon |
Description |
---|---|---|
Add Child |
|
Adds a child node below the selected node in the tree. |
Insert Sibling |
|
Adds a sibling node at the same level as the selected node in the tree. |
Add Value |
|
Enables you to assign a constant or parameterized value to the selected element. |
Delete |
|
Deletes the selected node. Note that you cannot delete the root node of the output value step. |
Import XML |
|
Enables you to browse to and select a file structure from an existing XML file. The new file overrides the selected node's current sub-tree. |
Export XML |
|
Enables you to save the file structure of the selected node to an XML file. |
Edit XML as Text |
|
Opens the Edit XML as Text Dialog Box, enabling you to modify the XML text of the selected node and it's subnodes in a test editor. |
Duplicate |
Adds a new node, identical to the selected one, as a sibling node at the same level as the selected node in the XML tree. Note: This command is available only from the context menu (right-click menu). |
Options Area
User interface elements are described below:
UI Element |
Description |
---|---|
Attribute |
The list of attributes for the selected element or value node in the XML tree. |
Value |
The list of values for the selected element or value node in the XML tree. Note: Click the Configure the value button
|
See also: