set value.md

Set Green Screen Value

The Set Value block writes a specified value to a target field on a green screen interface. It uses Leapwork's unique field recognition system, which understands the layout relationship between Protected (label) and Unprotected (input) fields. This enables fast, reliable automation without relying on fixed coordinates or manual mappings.

If the target unprotected field is already populated and visible, entering a new value will overwrite the existing content. Hidden fields, typically used for passwords, will not be cleared before writing.

Fully expanded, the Set Value block shows the following properties:

Note: The screenshot on this page uses the Elegance Design , introduced in 2025.3. If you are using an earlier version, your layout may look different.

Quick-start

  1. Drag Set Value onto the canvas.
  2. Connect the block in the flow and optionally specify basic parameters such as FField name, Field value, Use occurred, Index, and Type.
  3. Run the flow when it's ready.

Building block parameters

Parameters

(Other types may be available depending on configuration.)

Resources

Topic Description
Flows FAQ Common questions about creating, running, and managing flows in Leapwork.
Flows Troubleshooting Guidelines and solutions for identifying and fixing issues that occur when building or running flows in Leapwork.