Display and Run an LWC from a Quick Action

During active development, use quick actions in the Test Harness app to launch and test your Lightning web components.

The Test Harness SObjects tab displays a list of all of your org’s sObjects. Tap an sObject in the list to display up to 50 of the 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 LWC-based Quick Actions that are defined in Buttons, Links, and Actions in Setup for the selected sObject. Tap a Quick Action to launch the LWC.