Edit an output parameter of a script to pass different data to a visual test.
-
In the
Properties pane, right-click the output parameter that you want to edit and choose
Edit
<outputparametername>.
-
In the
Name text box, type the name of the parameter that you want to pass to the visual test.
Valid characters for parameter names include uppercase and lowercase alphanumeric characters and the underscore ("ABC", "abc",
"_"). If a parameter name being added or edited is a duplicate of another parameter name, supply a unique name for the parameter.
-
From the
Type list, select the data type of the local variable in the visual test for which you want to pass data.
Silk Test Workbench supports the following parameter types:
- Boolean
-
The parameter's value is either
True or
False.
- Number (Double)
-
The parameter's value is a double-precision floating-point number, and is stored as a 64-bit number in the range -1.7E308
to +1.7E-307.
- Number (Long Long)
-
A 64-bit integer value that can have a value in the range -9223372036854775808 to 9223372036854775807.
- Number (Long)
-
The parameter's value is a number ranging from -2,147,483,648 to 2,147,483,647. Periods (for a fractional/decimal value)
cannot be used.
- Text
-
The parameter's value is a text string. Text type values can contain letters, numbers, spaces, and punctuation.
-
Click
OK.