Automated Test Framework use case: test a business rule
릴리스 버전: Australia
업데이트 날짜 2026년 03월 12일
소요 시간: 1분
This use case illustrates testing a business rule with the Automated Test Framework.
시작하기 전에
Role required: atf_test_admin
이 태스크 정보
This example tests a business rule that sets the value of Locked out to true when active is set to false. 그림 1. Automated Test Framework: Business rule example
프로시저
Impersonate a user with the necessary permissions.
In this example, the step impersonates the admin user.
그림 2. Step 1 - Impersonate
Open a form for the table to which this business rule applies.
This example opens a new User form.
그림 3. Step 2 - Open a New Form
Set values on the form that meet the requirements for submitting the form and for triggering the business rule.
This example sets values for the Active, Last name, and First name fields.
그림 4. Step 3 - Set Field Values
Submit the form.
그림 5. Step 4 - Submit Form
Validate that the business rule ran.
In this example the business rule tested sets Locked out to true if Active is set to false.