---
version: "2026"
language: "en"
---
# Salesforce FAQ

## **How do I enable the Salesforce Fusion Recorder in Leapwork?**

To enable the Salesforce Fusion Recorder:

1. Navigate to:

   `C:\Users\YourUsername\AppData\Local\Leapwork`

   *(Replace* `YourUsername`*with your Windows username.)*

2. Open the studio config file.

3. Look for or add the following line:

       "EnableSalesforceFusion": true,

4. Save the file and restart Leapwork Flow.

**Note:**Available from version 2025.2.0 onward.

*** ** * ** ***

## What should I do if the recorded element strategy doesn't work in Salesforce?

Sometimes, Leapwork is not able to generate a unique strategy when capturing elements in Salesforce, especially if there are repeated or similar elements on the page. In such cases, you may need to manually adjust the strategy to specify the correct **occurrence** of the element.

There are two ways to address this:

**Option 1: Capture the element again with occurrence**

1. Click the web element (e.g., a field or button) and choose **Clear fields** .

   ![image-20250909-151659.png](https://docs.leapwork.com/__attachments/a_46c91722690abad5dc094a89e63e7f291b0025f1908095460527345e307725e0/image-20250909-151659.png?cb=573f3b2768c019d5ff425a9102a73ca8)
2. Right-click the same element again and select **Capture new web element**.

3. Click **Edit web element**.

4. In the strategy editor, locate the **Use occurrence** field and enter a value (e.g., 1, 2, 3...).

5. Click **Validate** , then **Save** .

   ![image-20250909-151721.png](https://docs.leapwork.com/__attachments/a_a061061c7fff3743e2d7ebb065e6589c998653b5523d161969301a11d6951dce/image-20250909-151721.png?cb=42b174d9c68f60b663bb542880ba2357)

**Option 2: Manually edit the existing strategy**

1. Click the web element in the flow (e.g., *Edit Quote*).

2. Right-click and select **Edit web element** .

   ![image-20250909-151843.png](https://docs.leapwork.com/__attachments/a_fa0c1f3e2adf26e9dd192b78c8262ac516414b36f2294ef0df0c6dd8e1875895/image-20250909-151843.png?cb=7532959d9a81e0bd51fc191b41945889)  
   ![image-20250909-151921.png](https://docs.leapwork.com/__attachments/a_e4ca8e5ed6cc5d0e629af5183e9e2b70b7e32b73d95fd701e6c7e1353de10008/image-20250909-151921.png?cb=68175a3b738a56a321d2bd6a7645e056)  
   ![image-20250909-151947.png](https://docs.leapwork.com/__attachments/a_3d448157d25b5458924f5e7e00c2c26efe40d2b2bd492215b59582e22ef6f572/image-20250909-151947.png?cb=7c881328409629ffd129b492a022640c)

3. In the strategy editor, adjust the selector manually.

4. Add or edit the **occurrence** value.

5. Click **Validate** , then **Save**.

*** ** * ** ***

## How can I work with Salesforce tables in Leapwork?

To interact with Salesforce data in Leapwork, you need to connect via an ODBC driver and use the **Database** block. Once configured, you can perform **SELECT** , **INSERT** , **UPDATE** , and **DELETE** operations.

**A. Prerequisites**

* Install a 64-bit ODBC driver for Salesforce (e.g., Devart).

* Ensure you have valid Salesforce credentials (username + password).

* Know the **API name** of any table or field you want to work with.

**B. Configure ODBC for Salesforce**

1. Open the **ODBC Data Sources (64-bit)** application on your system.

2. Click **Add** and select your Salesforce ODBC driver.

   ![image-20250909-153052.png](https://docs.leapwork.com/__attachments/a_5d5b3bb84d42470917bd43207d86c849e4adfca738410a07067531fa13e36960/image-20250909-153052.png?cb=6eae66edb169c4bc2aa5f792011dca02)  
   ![image-20250909-153155.png](https://docs.leapwork.com/__attachments/a_34b7054260e8f3fb6d89945c48e8070b05b88bed75920d533572e2a63018660e/image-20250909-153155.png?cb=69eed56d7efbbc9d156764c7fbba99dd)

3. Enter the required connection details:

   * Name is used in database block as "Connection" while accessing database from Leapwork.

   * Description (optional).

   * Salesforce server you want to connect with.

   * Username.

   * Password.

   * Click **Test Connection** to verify access.

     ![image-20250909-153254.png](/__attachments/a_918522c8490bca3c3206205c307d06534b67950cdc9c90e09edcc93daebad913/image-20250909-153254.png?cb=9320147f625c0a3a2fe7f4feb45a8bed)
4. Click **OK** to save the configuration.

**C. Create a Custom Table in Salesforce**

1. Log in to your Salesforce account.

2. In the **Quick Find** bar, type **Object Manager** and open it.

   ![image-20250909-154240.png](https://docs.leapwork.com/__attachments/a_a3475ae925d77ff7f2a79829f46c4fd881bf79730f8d5f193de781bbc9947cb2/image-20250909-154240.png?cb=3082753cca9762c6e8499253751b0d73)
3. Click **Create → Custom Object**.

4. Enter the **Label** , **Plural Label** , and **Object Name** (this last one becomes the API name).

   ![image-20250909-154305.png](https://docs.leapwork.com/__attachments/a_352efbfb81f729a9531f895abb716514f882ce732ae3e4028eeae6201f1ebeec/image-20250909-154305.png?cb=079f28367dc790c9405d203cd6496d68)
5. Scroll down and click **Save**.

6. In the **Quick Find** bar, type **Tabs** and open **Tabs** settings.

7. Click **New** under the *Custom Object Tabs* section.

   ![image-20250909-154407.png](https://docs.leapwork.com/__attachments/a_0e3bddf49aa86373847e93dd1bf47215b77190de77ffab3723cb63f9d0b28c9b/image-20250909-154407.png?cb=d206227f0b740db3ce21336cba67b6b2)
8. Select your custom object from the dropdown.

9. Choose a **Tab Style** , then click **Next** , **Next** , and finally **Save** to finish the tab setup.

   ![image-20250909-154444.png](https://docs.leapwork.com/__attachments/a_6caa0a725be8eb27d8efa6b78fbc94ea1e3246aa1e7559b315d20f3103c12df9/image-20250909-154444.png?cb=b3c274fc9c48742187954bc9208601de)  
   ![image-20250909-154503.png](https://docs.leapwork.com/__attachments/a_679d8685da8656077fa5b7b65776414b1321e689c21bd5566ecf5c24b47488bf/image-20250909-154503.png?cb=4e3d3ec306b13b934232b7127d3d1744)

10. Return to the **Salesforce homepage**.

11. Click the **App Launcher (grid icon)** and select the app where your tab is available.

12. Click **More** if needed, then find and open your new tab.

13. By default, the tab will show an empty list. Change the view to **All** , then click **New** to add your first record.

    ![image-20250909-154551.png](/__attachments/a_006b3356b4aec5126e2c71dcf6f8e9fc893806da2ced66f54e03aa7968dbcf19/image-20250909-154551.png?cb=a21bde63afa4901d179d5487c2cfbb82)
14. Fill in the fields and click **Save** , or use **Save \& New** to enter more records.

    ![image-20250909-154650.png](/__attachments/a_c786aee721427b4c97f7dc94aa665f15302f80ea2ae9692bd2d03b6834543a8b/image-20250909-154650.png?cb=c12745fb28461e9ba61bc91e4f1ff58b)

**D. Perform Database Operations in Leapwork**

In Leapwork Flow, use the **Database** block to execute SQL queries:

* **SELECT** -- Read records. Some system fields may appear by default.

* **INSERT** -- Add new records. Use API field names in your SQL.

* **UPDATE** -- Modify existing data. Again, use API field names.

* **DELETE** -- Remove records using matching criteria.

Once your connection is set, you can fully automate data operations in your Salesforce environment.

*** ** * ** ***

## How do I handle Salesforce email or phone validation during login?

In order to turn off Email \& Phone validations in Salesforce account you need Set Trusted IP Ranges.

Trusted IP Ranges define a list of IP addresses from which users can log in without receiving a login challenge for verification of their identity, such as a code sent to their mobile phone.

You can "Set Trusted IP Ranges" in your Salesforce login using following steps:

1. From Setup, enter Network Access in the Quick Find box, then select **Network Access**.

2. Click **New**.

3. Enter a valid IP address in the Start IP Address field and a higher IP address in the End IP Address field.

   The start and end addresses define the range of allowable IP addresses from which users can log in, including the start and end values (usually 0.0.0.0-255.255.255.255). If you want to allow logins from a single IP address, enter the same address in both fields.
4. Optionally, enter a description for the range. For example, if you maintain multiple ranges, enter details about the part of your network that corresponds to this range.

5. Click **Save**.

*** ** * ** ***

## Why can't Leapwork capture a screenshot of the Salesforce login page on mobile?

Some mobile apps, including Salesforce, apply security restrictions that block screenshots on sensitive screens like login pages. This prevents Leapwork from interacting with the login screen using Appium.

**What does this mean?**

* The login process **cannot be automated** with Leapwork's mobile blocks.

* A **manual login** is required before automation can begin.

* Once logged in, Leapwork can automate pages **that don't restrict screenshots**.

This is a security policy enforced by the mobile platform or app, not a limitation of Leapwork. To work around this, start your mobile flows from a screen that is accessible post-login.