| title | Error Handling Post Metadata Refresh | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| page_title | Error Handling Post Metadata Refresh | |||||||||||||||||||||||||||||||||
| metadesc | On refreshing metadata, Testsigma identifies potential errors in test cases, step groups and elements linked to updates in the Salesforce organization structure | |||||||||||||||||||||||||||||||||
| noindex | false | |||||||||||||||||||||||||||||||||
| order | 28.94 | |||||||||||||||||||||||||||||||||
| page_id | Error Handling Post Metadata Refresh | |||||||||||||||||||||||||||||||||
| warning | false | |||||||||||||||||||||||||||||||||
| contextual_links |
|
On metadata refresh, Testsigma identifies potential causes of test case failures due to Salesforce organization structure updates, such as removing a field. This article discusses steps to identify errors due to metadata refresh on test cases, step groups, and the element repository.
Before you begin, ensure you have a Salesforce Connected App, Salesforce Metadata connected to Testsigma, and know how to Refresh Metadata.
-
From the Dashboard, navigate to Create Tests > Test Cases.
-
You can find the impacted test cases highlighted on the Test Cases page with a Warning.
-
Click on View All to filter only the deprecated test cases.
-
Alternatively, select the highlighted filter to display test cases that contain errors.
-
Select the deprecated test case to view the errors.
-
Hover over to the highlighted step to check the error.
-
Hover over the element and click on View/Edit element.
-
This will open the Element details overlay where you can find the details of deprecated elements.
-
To resolve the error, replace them with new elements or disable/remove the test step as needed.
[[info | NOTE:]] | This feature is also available at the Step Group level.
Here's a quick GIF demonstrating how to check errors due to metadata refresh in Testsigma.
When you select Metadata Refresh, Testsigma downloads the metadata from your organization and identifies any fields that are no longer available due to customization.
To resolve this, you need to:
-
Disable the step associated with the deprecated element.
-
Create a new element in the same context and replace the deprecated one by using the Change Element option.
This ensures that tests continue to execute without issues.
Here's a quick GIF demonstrating how to resolve this error.
For more information on creating elements for Salesforce apps, see Creating Elements While Creating Test Steps.











