Set Attribute

This action inserts or updates an attribute on the found tag with a specified name and value. If the found tag contain an attribute with the given name its value is updated with the specified value otherwise a new attribute is inserted with the value specified.

The step action only works on XML variables.

Properties

The Set Attribute action can be configured using the following properties:

Attribute Name:
The name of the attribute to set or update.
Value:
The value of the attribute. This will be correctly encoded according the rules for encoding attribute values in the given type of document, e.g. XML.
Options:
The robot's options can be overridden with the step's own options. An option that is marked with an asterisk in the Options Dialog will override the one from the robot's configuration. All other options will be the same as specified for the robot.