Creating Plug-ins / Plug-in Steps: <step-type> Element |
Theproperties element is a container for properties which are defined with theproperty tag. Each step has a singleproperties element; aproperties element can contain any number ofproperty child elements.
Aproperty tag has a mandatoryname attribute, optionalrequired attribute, and two child elements,property-ui andvalue, which are defined in the following table.
<property> Child Elements | Description |
---|---|
<property-ui> |
Defines how the property is presented to users in the Serana Release Automation editor. This element has several attributes:
|
<value> | Used to specify values for a selectBox. Each value has a mandatorylabel attribute which is displayed to users, and a value used by the property when selected. Values are displayed in the order they are defined. |
Here is a sample<property> definition:
<property name="onerror" required="true"> <property-ui type="selectBox" default-value="abort" description="Action to perform when statement fails: continue, stop, abort." label="Error Handling"/> <value label="Abort">abort</value> <value label="Continue">continue</value> <value label="Stop">stop</value> </property>