Variable
Ø Variable is nothing but a memory location
Ø It holds multiple types of data
Ø Data stored in Variable is named as ‘Value’
Ø Supports a large amount of types, ranging from generic value, text, number, data table, time and date, UI Elements to any .Net variable type.
Create a Variable:
On the
Design
ribbon tab, in the Variables group, select Create
Variable > [Type of variable]. The Create
Variable window is displayed
Fill in the required fields and click OK.
The variable is created and you can view and edit it in the Variables
panel.
1.In the Properties panel of any activity,
right-click a field that can be edited, and select Create Variable from
the context menu, or press Ctrl+K. A Set Name field is displayed.
2.Fill in the name and press Enter. The variable is
created and you can view and edit it in the Variables panel. The
scope of activities created like this always belongs to the smallest
container it is part of.
3.In the Designer panel, click Variables.
The Variables panel is displayed.
4.Click the Create
Variable line. A new variable with the default values is displayed.
Removing Variable:
- In the Variable panel, right-click a variable
and select the Delete option.
- In the Variable panel, select a variable and
press the Delete key.
If you want to remove all variables in the Project, Go through below
On the Design ribbon tab, in the Variables
group, select Manage Variables > Remove Unreferenced. Note
that the Variables panel only contains the variables used
in your automation.
Comments
Post a Comment
We appreciate your valuable Suggestions/Feedback