Login

The Login building block performs a system login on the Agent machine using the system user credentials provided in Username and Password. It is typically used in schedules to ensure the Agent is logged in before the rest of the automation runs.

Fully expanded, the Login block shows the following properties:

image-20260203-120857.png

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 Login onto the canvas.

  2. Enter Username and Password, and set Timeout (sec) as needed.

  3. Run the flow when it’s ready.

Building block parameters

Parameters
  • Block header: Shows the current title of the block. You can rename it by double-clicking the header text and typing a new title.

  • Username: Specifies the system username under which the login is performed when the schedule is executed.

  • Password: Specifies the system password under which the login is performed when the schedule is executed.

  • Failed: Triggers if the login is not completed within the configured timeout.

  • Timeout (sec): Sets the maximum time the block is allowed to spend performing the login operation before triggering Failed.

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.