Documentation

Looking for something in particular?

Mapping Non-Salesforce Fields

This page describes what to do if you are mapping a field on a Visualforce page that is not a Salesforce Apex field, or if you want to map a field on a non-Salesforce platform (e.g. a form on a website, such as a Web-to-Lead form).

Automation does not provide a standard Salesforce field locator or a Visualforce locator in these scenarios. Instead, the field is mapped using a locator such as Label, Name, or XPath, and the information is stored in a Page Object.

When mapping a field of this type, you may see the following or similar in the Test Builder.

If Automation did not identify the field correctly, but you are expecting the field to be recognized, you can click on the Field dropdown to check for the field.

If this is unsuccessful, you should use a Page Object and add a locator for the field. Click on the Salesforce Layout dropdown and choose Page Object. Select an existing page or create a new one.

Then, add a Field name and specify the Field Locator. By Label is an efficient way of locating a field if available. To use By Label, ensure that the Label entered matches the label you see on your page.

Locating with an ID or an Xpath is another alternative. Refer to Creating an XPath for more information on this option.

The screenshot below shows locating using ProvarX:

Then, set the Interaction Type and click Add & DoThis will create a Page Object and a test step in the usual way.

Review Provar on G2
Documentation library

Trying to raise a case with our support team?

We use cookies to better understand how our website is used so we can tailor content for you. For more information about the different cookies we use please take a look at our Privacy Policy.

Scroll to Top