要求されたページは選択されたバージョンでは利用できない。
assign result field
Description
Assign a new value to a modifiable result field.
Arguments
field
Name of the result field to be modified.
value
Value to be assigned.
Valid contexts
This action may be used within the following project items: test modules and user-defined actions.
Notes
- This action applies only to result fields, and only ones that are runtime-modifiable. These include the result field Build Number, and any user-defined fields that are defined as applying to the result project item type. (See Creating a user-defined field for further information.)
- This action supports the <ignore> modifier. If the string
<ignore>
is present as the value of any of the arguments, or any argument contains an expression that evaluates to<ignore>
, the action is skipped during execution.
Applicable Built-In Settings
The following settings are applicable to this action: remove double quotes from cells.
Example - Case 1: Assign a new value to a user-defined field
Suppose there is a user-defined result field named log file with a value type of hyperlink:
Action Lines
Result
Example - Case 2: Assign a new value to the Build Number built-in field.
Action Lines
Result