--- title: "Export test case" slug: "export-test-case" description: "Export test cases to XML in D365 F&SCM. Manage test variables and scenarios easily across environments." tags: ["Task", "Anywhere Mobility Studio"] updated: 2026-06-24T16:52:07Z published: 2026-06-24T16:52:07Z canonical: "docs.staedean.com/export-test-case" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.staedean.com/llms.txt > Use this file to discover all available pages before exploring further. # Export test case You can export a test case to an XML file. So, you can import the test case in another Microsoft Dynamics 365 Finance & Supply Chain Management environment. You can find and download the created file on the Mobility sharing workspace, on the **Data files** tab. What is included in the export depends on the export type: - **Only test case** For all selected test cases, this is included in the export: - General test case settings - Steps - Test variables - Events - **Only test scenario** For all selected test cases, only the test scenarios are included in the export. - **Test case & test scenario** For all selected test cases, everything is included in the export. If you export a test case, consider this: - The default values for the test variables are included in the export of a test case. Possibly, this data is not available in the environment where you import the test case. To be able to run a default test, you must check and, if required, change the default values of the test variables after import. - A test scenario is set up based on specific data (variable values) which possibly is not available in another environment. So, a test scenario cannot be run in another environment if the same data is not available in that environment. You can, of course, change the variable values after you have imported the test scenarios. - An export of only test scenarios, only makes sense if the related test cases already exist in the environment where you import the test scenarios. ### Steps 1. Click **Mobility test design**. 2. Click the **Test cases** tab. 3. In the list, find and select the desired test cases. 4. Click **Export**. 5. Besides the XML file, you can also generate a data package with data entities. You can find and download this data package on the Mobility sharing workspace, on the **Data files** tab. You can deploy the downloaded data package with **Microsoft Dynamics Lifecycle Services**. Select **Yes** in the **Generate package** field. 6. In the **File name** field, type a value. 7. In the **Export type** field, select an option. 8. Click **OK**. 9. Click **Share**. 10. On the **Data files** tab, in the list, find and select the desired file. > [!NOTE] > **Note** > > A data file with the file name extension: > > - dawdata is an XML file. > - zip is a data package. 11. Click **Download**. ## Related - [Exchange test setup](/exchange-test-setup.md)