Steer buttons in the New/Edit layout

In the New/Edit layout, you have three buttons:

  • Save

  • Save&New

  • Cancel

XScan identifies them as Buttons. You can steer them as described in chapter "Button".

In Salesforce Classic, you have two sets of these buttons: at the top and at the bottom of the layout. If you scan the buttons at the bottom, you can use them also in your Salesforce Lightning Experience tests. For more information, see chapter "Scan buttons in the New/Edit layout".

In this example, you save the changes in the New/Edit layout. You want to use the same test both in Salesforce Classic and Salesforce Lightning Experience. To do so, you only click on the Save button.

Save button in a TestCase