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.
| 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. |
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 to | Notes |
|---|---|
|
Define pre and post actions for test case |
  |
|
Define tests for test case steps |
  |