studio
2022.10
false
UiPath logo, featuring letters U and I in white
Studio User Guide
Last updated 2024年11月4日

Support for Salesforce Lightning Interface

When automating the Salesforce Lighting interface, the out-of-the-box generated selectors contain specific Lightning attributes that are stable and will not change over time, thus making them very reliable and resilient to UI changes. This means the UI Automation activity package is a great choice for automating this environment. The attributes are sfl-path, sfl-name and sfl-type.
Note:

Any UiPath.UIAutomation.Activities package can be used to automate Salesforce Classic and Lightning UI interfaces through the generic UiPath browser automation support.

UiPath.UIAutomation.Activities v21.10 or above is required to create automation projects for Salesforce Lightning interface by using the specific attributes described below.

Using sfl-path

Most elements in Salesforce Lightning can be identified by using the sfl-path attribute. You can find several examples below:
A selector identifying a search input field; the selector contains the sfl-path attribute determining the precise path of the element:


A selector identifying an icon:



Using sfl-name and sfl-type

In some cases, however, the sfl-path attribute might not be enough to precisely identify the element you are trying to automate. In these cases, the sfl-name and sfl-type attributes are exposed in UIExplorer and can be included in the selector as needed:


Using Standard HTML Attributes

If the Salesforce Lightning specific attributes are not required and standard HTML attributes are enough for uniquely identifying an element on a page, the selector is generated with the standard <html> strategy and may look like this:


  • Using sfl-path
  • Using sfl-name and sfl-type
  • Using Standard HTML Attributes

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
信任与安全
© 2005-2024 UiPath。保留所有权利。