Newer Version Available

This content describes an older version of this product. View Latest

Display and Run an LWC from a Quick Action

After you log in, the Test Harness home page displays a list of all of your org’s sObjects. Tap an sObject in the list to display the 10 most recently viewed records for the selected sObject.

If the list is empty, log in to the org with the same user and view a few sample records you wish to test with. Those records are added to the Most Recently Viewed list in Salesforce. Return to Test Harness and access the sObject again by tapping on it. The recently viewed records appear in the list.

Tip

When you tap a record, you’re presented with all of the Quick Actions that are defined in Buttons, Links, and Actions in Setup for the selected sObject.

To streamline the user interface and focus on development activities, Test Harness only displays Lightning web component-based Quick Actions.

Note

Tap a Quick Action to launch the LWC. If the LWC exposes a recordId property using the @api annotation, the LWC receives the ID of the tapped record set on that property.