Snippet Step

The Snippet step is used to insert a Snippet into a robot. A snippet is a sub-part of a robot that may be reused several times either in one robot or across robots. Snippets consists of two parts: a number of connected steps and a set of variables. When a snippet is inserted into a robot via a Snippet step the steps of the snippet is inserted at its location and the variables of the snippet is added to the variables of the robot.

Snippet steps are similar to Group steps. Just as Group steps Snippet steps contain an expand/collapse icon (+/-) located at the top left corner. Clicking on this will expand/collapse the snippet step and like group steps the inserted steps must be such that they have one entry point and one exit point. But unlike group steps, if the steps inside a Snippet step are modified then the corresponding snippet is changed and all other Snippet steps referring to the snippet will change their contained steps.

Properties

The Snippet step is configured using the following properties on the Basic and Snippet tabs:

Step Name

This is a name for the step. If you enter a step name here, it will be shown in the Robot View below the step. If no step name is provided, the snippet name is shown instead. In this case, the name is underlined.

Step Comment

This is a comment describing the snippet step. This is not a comment describing the snippet itself, which should be edited directly on the snippet when it is open in an editor.

Snippet

This is the name of the snippet. It refers to a snippet of that name inside the same project as the robot containing the Snippet step. By selecting a different name, a new snippet is inserted at the snippet step's location. If the snippet has a comment, it is shown here.

You can open the snippet that the step refers to by clicking Open. It is opened on a new tab.

Open XML Data Mapper

Opens the XML Data Mapper dialog. For more information, see the XML Data Mapper section.