setUserVariable (UI Automation - Manipulation)
Compatible with:
- Purpose
- This command can be used to dynamically change or set the value of a user-defined variable that has type 'Dynamic'. Manually editable user-defined variable cannot be updated by this command run-time.The value passed in 'Value' field of the Command will be stored in the user-defined variable mentioned in the 'Target' field of the Command for the 'Environment' that is contained in the Testing Context.
- Syntax
- setUserVariable(Variable Name, Value)
- Target
- VariableName - User-Defined Variable Name.
- Value
- Value
- Return Value
- Value that needs to be stored in the variable.