Automated Test Framework use case: test a data policy
リリースバージョン: Australia
更新日 2026年03月12日
所要時間:1分
This use case illustrates testing a data policy with the Automated Test Framework.
始める前に
Role required: atf_test_admin
このタスクについて
This example tests the data policy that sets the field Assignment Group to mandatory if
impact is high. 図 : 1. Automated Test Framework: Data policy being tested 図 : 2. Automated Test Framework: Data policy
example
手順
Impersonate a user with the necessary permissions.
In this example, the step impersonates an admin user.
図 : 3. Step 1 - Impersonate
Open a form for the table to which this data policy applies.
This example opens a new incident form.
図 : 4. Step 2 - Open a New Form
Check that the data policy has not yet been triggered.
In this example, the step checks to confirm that Assignment group is not mandatory.
図 : 5. Step 3 - Field State Validation
If applicable, set the conditions that trigger the data policy.
This example sets Impact to High.
図 : 6. Step 4 - Set Field Values
Validate that the data policy is enforced.
In this example, the test confirms that the data policy set Assignment group to High after the previous step set Impact to
High.