Skip to content

Login

⚠ Early Access Feature

This feature is Early Access and may change based on user feedback and testing. Share your thoughts with our team to help us improve it.

The Salesforce Login Block enables users to automate the authentication process required to launch a Salesforce session within Leapwork workflows. This block acts as a foundational step in test automation scenarios for Salesforce, providing a consistent way to initiate a browser session and authenticate before further actions take place.

Fully expanded, the Salesforce Login Block shows the following properties:

Salesforce-fusion-login

The Block Header ("Login")

The green input connector at the top left triggers the block’s execution when the automation flow reaches this step.

The block title ("Login") can be renamed by double-clicking the header and entering a new label, allowing for more descriptive names within complex flows.

Browser to Start

This dropdown field allows the user to select the browser that will be launched as part of the login sequence.

Note: For Early Access, only Edge is supported. Chrome is currently excluded from support.

Web Address (URL)

Defines the URL of the Salesforce environment where login will occur. It must point to a valid Salesforce instance or login page and is used to initiate the session context required for automation.

Username

Used to input the Salesforce login username.

Typically, this would be a valid organizational account with sufficient access rights to the targeted Salesforce application.

Password

Used to input the corresponding password for the username provided.

Sensitive handling is enforced; the password is obscured and securely stored during execution.

Browser Window

This property identifies the target browser instance for the login process. It is automatically assigned upon execution and is primarily used internally by Leapwork to manage session context. In Early Access versions, only a single browser session is supported, and this setting is not yet configurable.

Default timeout

If the Default Timeout property checkbox is not selected, then the timeout value is 120 seconds. If the property checkbox is selected, then the Default timeout value selected in the flow settings will be applicable.

Timeout

The maximum time the block will wait for the login process to complete before triggering the Login Failed connector.

Note: All cases have a “global timeout” that can be configured in the “Settings” panel. This is unrelated to the timeout of a single building block. However, a running case will automatically be cancelled if it runs for longer than the global timeout.

Login Failed

This output is triggered if the login attempt does not succeed. It can be used to define alternative flow branches for error handling or retries.

 

 

Created 23.06.25