> ## Documentation Index
> Fetch the complete documentation index at: https://docs.open-metadata.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Bulk Edit Test Cases

> Learn to bulk edit multiple data quality test cases at once in OpenMetadata using an inline spreadsheet grid, at the table, test suite, or platform-wide scope.

# Bulk Edit Test Cases

Bulk Edit lets you update several existing test cases at once from an inline spreadsheet-style grid, without preparing a CSV file yourself. Under the hood, it uses the same export and import endpoints as [Bulk Export](/v1.12.x/how-to-guides/data-quality-observability/quality/import-export-test-cases/export) and [Bulk Import](/v1.12.x/how-to-guides/data-quality-observability/quality/import-export-test-cases/import): OpenMetadata automatically exports your current test cases, loads them into an editable grid, then validates and re-imports your changes when you confirm. You can bulk edit test cases for a single table, for a test suite, or across your entire platform.

<Info>
  **Note**: You need **EditAll** permission on test cases to use Bulk Edit.
</Info>

## What You Can Edit

The **name**, **testDefinition**, **entityFQN**, and **testSuite** columns are locked, since they identify the test case and what it runs against. You can edit:

* **displayName**
* **description**
* **parameterValues**
* **computePassedFailedRowCount**
* **useDynamicAssertion**
* **inspectionQuery**
* **tags**
* **glossaryTerms**

For more information about what each column in the file means, see the [CSV Field Reference](/v1.12.x/how-to-guides/data-quality-observability/quality/import-export-test-cases).

## Bulk Edit Test Cases for a Table

To edit test cases added to a single table:

1. In the left navigation menu, click **Explore**, and select the table whose test cases you want to edit.
2. Navigate to the **Data Observability** tab.
3. In the **Data Quality** tab, click **Test Cases** if not selected.
   <img src="https://mintcdn.com/openmetadata/0corNq5Y0FTYJtKO/public/images/how-to-guides/data-quality-observability/quality/table-test-cases.png?fit=max&auto=format&n=0corNq5Y0FTYJtKO&q=85&s=9d626b5761716710258c8215b9311202" alt="Access Table Test Cases" width="2528" height="1390" data-path="public/images/how-to-guides/data-quality-observability/quality/table-test-cases.png" />
4. Click the **⋮** icon and click **Bulk Edit**.
   <img src="https://mintcdn.com/openmetadata/0corNq5Y0FTYJtKO/public/images/how-to-guides/data-quality-observability/quality/select-bulk-edit-table.png?fit=max&auto=format&n=0corNq5Y0FTYJtKO&q=85&s=78608c8400f51a2194467fe2525a1de8" alt="Select Bulk Edit for a single table" width="2430" height="610" data-path="public/images/how-to-guides/data-quality-observability/quality/select-bulk-edit-table.png" />
5. OpenMetadata exports the table's current test cases in the background and loads them into an editable grid. Edit or modify data using the inline editor and click **Next**.
   <img src="https://mintcdn.com/openmetadata/0corNq5Y0FTYJtKO/public/images/how-to-guides/data-quality-observability/quality/preview-edit.png?fit=max&auto=format&n=0corNq5Y0FTYJtKO&q=85&s=6df2d1daf749588b4e0b044c76357ff1" alt="Edit test cases in the inline grid" width="2430" height="1500" data-path="public/images/how-to-guides/data-quality-observability/quality/preview-edit.png" />
6. Validate your changes. A green or red tick in the **Status** column displays the success or failure of the test cases.
   <img src="https://mintcdn.com/openmetadata/0corNq5Y0FTYJtKO/public/images/how-to-guides/data-quality-observability/quality/check-update-edits.png?fit=max&auto=format&n=0corNq5Y0FTYJtKO&q=85&s=bdd80ee6c108698da64d91856e623844" alt="Validate changes as a dry run" width="2492" height="1534" data-path="public/images/how-to-guides/data-quality-observability/quality/check-update-edits.png" />
7. Click **Update** again to apply the changes.

## Bulk Edit Test Cases in a Suite

To edit test cases scoped to a single test suite:

1. Navigate to **Data Observability** > **Data Quality**.
2. Click the **Test Suites** tab and switch to **Bundle Suites**.
   <img src="https://mintcdn.com/openmetadata/0corNq5Y0FTYJtKO/public/images/how-to-guides/data-quality-observability/quality/test-suites-test-case.png?fit=max&auto=format&n=0corNq5Y0FTYJtKO&q=85&s=12ec49ce1da63737a96530ef34874369" alt="Select a bundle test suite" width="2996" height="1258" data-path="public/images/how-to-guides/data-quality-observability/quality/test-suites-test-case.png" />
3. Search and select the bundle suite whose test cases you want to edit.
4. Click the **⋮** icon and click **Bulk Edit**.
   <img src="https://mintcdn.com/openmetadata/0corNq5Y0FTYJtKO/public/images/how-to-guides/data-quality-observability/quality/select-bulk-edit-suite.png?fit=max&auto=format&n=0corNq5Y0FTYJtKO&q=85&s=5215b88a147db8bf2ed03ea68ce7ab52" alt="Click Bulk Edit for a test suite" width="3002" height="1010" data-path="public/images/how-to-guides/data-quality-observability/quality/select-bulk-edit-suite.png" />
5. Repeat steps 5 to 7 from [Bulk Edit Test Cases for a Table](#bulk-edit-test-cases-for-a-table).

## Bulk Edit All Test Cases

To edit test cases across your entire OpenMetadata instance:

1. Navigate to **Data Observability** > **Data Quality**, and click **Test Cases**.
   <img src="https://mintcdn.com/openmetadata/0corNq5Y0FTYJtKO/public/images/how-to-guides/data-quality-observability/quality/test-cases-tab.png?fit=max&auto=format&n=0corNq5Y0FTYJtKO&q=85&s=4cd85231a5b767b433668f90fc9244e0" alt="Test Cases Tab" width="2508" height="1284" data-path="public/images/how-to-guides/data-quality-observability/quality/test-cases-tab.png" />
2. Click the **⋮** icon and select **Bulk Edit**.
   <img src="https://mintcdn.com/openmetadata/0corNq5Y0FTYJtKO/public/images/how-to-guides/data-quality-observability/quality/bulk-edit-test-cases.png?fit=max&auto=format&n=0corNq5Y0FTYJtKO&q=85&s=cd94b923128fc9c78bbfe7dacd08aa72" alt="Select Bulk Edit Test Cases" width="2532" height="1352" data-path="public/images/how-to-guides/data-quality-observability/quality/bulk-edit-test-cases.png" />
3. Repeat steps 5 to 7 from [Bulk Edit Test Cases for a Table](#bulk-edit-test-cases-for-a-table).

<Info>
  **Note**: You can click **Cancel** at any point before the final update to discard your changes.
</Info>

<Tip>
  **Tip**: Bulk Edit doesn't have its own API. It uses the same export and import endpoints described in [Bulk Export Test Cases](/v1.12.x/how-to-guides/data-quality-observability/quality/import-export-test-cases/export) and [Bulk Import Test Cases](/v1.12.x/how-to-guides/data-quality-observability/quality/import-export-test-cases/import), with `recursive=false` passed on the import call.
</Tip>
