|
Solution |
| 1. |
Create a variable |
- Go to Tools->Variable Manager and in 'User
Variables' click on 'Add New Variable'.
- Select a variable of type 'Value' and select
the option 'Read from text file'. Specify the
file from where you would like to read the values
from. Screenshot
1
|
| 2. |
Assign the values to
variable at runtime |
- Let's say you want to assign the value of
$Clipboard$ variable to other variable and use
that value later in your task.
- Use "Log to file" command to log the value
of the $Clipboard$ variable and thus assign
its value to the variable declared by you.
- Specify the values for the variable in the
format described in the "How to Use" section.
Screenshot 2
|
| 3. |
Process the assigned
values |
- Use this assigned value of the variable
in conditional commands for further processing
later in the task.
- In Screenshot
3 refer to a sample task that compares
two excel cells and does the processing based
on the contents.
|
| |
| You
can create a variable to be read form text file.
At runtime in the task, you can write the value
of the variable in the format <variable>=<value>.
Assigning the values to variable comes in very
handy when you want to compare data that is copied
in the Clipboard one after another.
|