The delete step deletes the Salesforce record.

📘

Record display requirement

The step itself does not navigate to the record, so you will need the system to navigate to the specific record during the execution of a test, so that the designated step will be performed when the record is displayed on Salesforce. To learn more, see Find and display a specific Salesforce record during test execution.

Creating a Delete step

To create a Delete step:

  1. In your test, add a step before the Delete step that will navigate to the desired record. To learn more, see Find and display a specific Salesforce record during test execution.

  2. Add a step by clicking the + button.

  3. Under the Salesforce steps tab, click Record Operations and select the Delete step.
    The Delete step is added and the following Object properties is displayed.

  4. When finished, click Save.