Use the Properties pane

The Properties pane in Tosca Commander displays all properties of the selected API Module. For more information on Module properties, see chapter "Default properties for Modules".

The Properties pane

Keep inactive nodes

If you set a Module Attribute but don't use it, the corresponding node is inactive. By default, the system removes these inactive nodes.

This affects the payload and parameters in the Params tab. However, it doesn't affect headers.

This is not true for Body Module Attributes. In this case, the system doesn't remove inactive nodes.

Keep inactive nodes

You can change the default behavior and keep inactive nodes.

To do so, set the InactiveNodes property to Keep.

Set the InactiveNodes property to Keep

For information on how to utilize the Inactive Nodes property in your TestCases, see chapter "Use one Module for multiple messages".

For information on how to set the InactiveNodes property for API Modules created with Tricentis Tosca versions prior to 10.3, refer to the Tricentis Knowledge Base: Inactive Nodes property for XModules.

Edit the Path

The property Path indicates an expression that links a Module Attribute to the related element in the payload. The property PathType indicates the path type, which depends on the technology you use. For example, if you use JSON, the system creates a JsonPath. If you use XML, it creates an XPath.

Properties Path and PathType

You can edit the Path property if necessary. However, to avoid errors, Tricentis recommends that you update Module Attributes if the path changed.