Component

The Component element enables you to embed a different Template within the current Template.
To create a Component:
Click or drag the Component element from the element panel.
A blank Component element appears in the workspace pane.
In the
, select the Template that needs to be embedded as the Component. You can filter the results from the list of available Templates.![]() |
Select the required Template from the list.
![]() |
The selected Template is embedded in the Component.
Select Only Published option, to view the Published Templates.
![]() |
Select Show all option, to view all the Templates (both Published and Private).
![]() |
The name of the selected Template appears in the Component element.
You can View/Hide the Component element. Refer here for more details.
The Component element has two additional options:
Target Version
Behaviour
The
option is available when a published Template is selected to be embedded as a component. Select the version of the Template from the dropdown list.![]() |
The
determines how the embedded Template is executed at run time.There are four options available as shown below:
![]() |
Replace on Run: The component template is launched at the same level as the main template.
Partial replace on Run: Select some steps of the selected Component Template
Insert on validate: The embedded Component template is launched as the child Step
Partial insert on Validate: Selected steps of the template are launched as a child Step.
Replace on Run: The option can be set to . This option causes the embedded Component Template to be launched at the same level as the main Template Steps. The Steps of the Component will be executed as individual Steps and not as Child Steps.

Partial Replace on Run: The option can be set to Partial Replace on Run. This option allows the user to select some steps of the Template.
Shown below is an example of the Steps in the Component Template.
![]() |
Select the Behaviour option as
.![]() |
Select part of the Component Template as shown in the example below.
![]() |
Click again on the Step, If you need to remove a step from the selection.
Click
button, to clear all the selected Steps and include all the Steps of the Component.![]() |
Important
1. When a Child Step is selected corresponding Parent Step is also selected.
2. When a Parent Step is selected the associated child Step(s) are selected.
The selected Steps are displayed in the work card view and the Execution Preview of the Template as shown below.

During runtime, only the selected Steps for the Behaviour Partial Replace on Run are executed.

Insert on Validate: This option causes the embedded Template to be run as a child Step.
When selecting this option, a text box
appears. Checking the HTML option enables advanced text formatting capabilities.![]() |
The text entered appears on the Component Step as shown.

At run time, a button
is displayed on the Step.
Click
. The embedded Template is launched as a child Step. The Steps of the Embedded Component are displayed as the Child Steps of the main Template.
Partial Insert on Validate : This option causes the selected section of the Template to be run as a child Step of the Template.
![]() |
Select part of the Component Template as shown in the example below.
![]() |
Click Execute Template to execute the Steps selected from the Component.
![]() |
During runtime, only the selected Steps for the Behaviour Partial Insert on Validate are executed.

Note
Execute Template is a button that appears when Behavior is selected as or .
There are some features that can be performed on the Component. All the features are explained here.
Only Templates can be child Steps of a Component.
Note
You cannot link a part of a Template to a Component.
Warning
Using only the Published Template embedded within a Component element is recommended. A Template with an empty Component element cannot be saved.