Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

You need to open the «Resources» "Resources" tab on the left panel and click on the «Variables» "Variables" tab to create and view all variables in ROBIN Studio 2.0.

Click the plus button Image Modifiedto create a new variable.

The "New Variable" form will open in the left panel, where you can set the parameters of the variable to be created.

Variable parameters:

ParameterPurposeTypeAppearance
Variable name
Enter
To enter the name of the variable to be created
.
Field

Image Modified

Variable type
Select
To select the type of variable
.
Dropdown List

Image Modified

Value
Enter
To enter the initial value of the variable, if necessary
.
Field/Checkbox/ButtonDepends on the selected variable type. More details in
the «Types of variables» section.
the Variable types section
Track on debugWhen activated, the variable values will be displayed in the
Software Robot
software robot log
.
Checkbox

Image Modified

Robot input parameterWhen activated, the parameters (values) received by the
Software Robot
software robot upon its launch will be written to this variable
.
Checkbox

Image Modified

The result of the robotWhen activated, the last value of the variable after executing the scenario will be written to a separate XML file in the form of a
schema.
schemeCheckbox

Image Modified

Comment
Enter
To enter a comment for the created variable
.
Field

Image Modified

Clicking the «Create» Image Added button will create a new variable, which will be displayed in the list of variables. Clicking the «Cancel» Image Added button or the cross icon Image Added will cancel the entered parameters and return to the general list of variables.

Changing variable name

The studio provides the possibility of editing variable name. 

Variables are correctly edited and saved. When you change the name of a variable, the changed name is also pulled up in the parameters in the robot action where the variable is used.

For example:

1.When running the "Show message" action, create a variable named "Variable 1"

Image Added

2. The variable name "Parameters 1" is displayed in the action parameters.


Image Added


3. To give "Variable 1" a new name "Variable 2", move the mouse cursor to the variable name and the edit icon will appear.


Image Added

4.  Enter a new name in the "Variable name" field - "New variable 2".

Image Added

5.  In the properties of the "Show message" action, the new variable name "New variable 2" is displayed in the "Parameters" column.

Image Added