--- title: "Develop function class for test function" slug: "develop-function-class-for-test-function" tags: ["Task", "Anywhere Mobility Studio"] updated: 2026-03-20T13:06:54Z published: 2026-03-20T17:46:51Z canonical: "docs.staedean.com/develop-function-class-for-test-function" --- > ## 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. # Develop function class for test function You can use a test function for a condition on a test case event procedure action. The test function fills the related value of the condition. For a test function, a class is required. To develop this class, extend the DAWFunctionRunTestCase class. **Prerequisite**: Develop the extension of the DAWFunctionRunTestCase class in the AOT before you start the steps. > [!NOTE] > **Note** The steps are to have the developed test function class uploaded as test function to the related library. ### Steps 1. Click **Mobility design**. 2. Click the **Libraries** tab. 3. In the list, find and select the desired record. 4. Click **View**. 5. Click the **Test functions** tab. 6. Click **Refresh**. 7. Close the page. > [!NOTE] > **Notes** > > If you deploy (export/import) an application as built in Mobility studio, make sure the related custom test function classes are deployed as well. You can do so with a Microsoft Dynamics Lifecycle Services project. ## Related - [Define pre and post actions for test case](/define-pre-and-post-actions-for-test-case.md) - [Define tests for test case steps](/define-tests-for-test-case-steps.md)