--- title: Configure auto test prompting and UI tests description: Configure test settings to enable automatic test prompting and execution of UI tests in Build Agent and Autonomous Engineer. locale: en-US canonical_url: https://www.servicenow.com/docs/r/application-development/ba-config-testing.html release: brazil topic_type: task last_updated: "2026-09-10" reading_time_minutes: 1 keywords: [ServiceNow Otto, AI Agents, generative AI, agentic AI] breadcrumb: [Configure, Build Agent, Build, AI Workflow Factory Prime, Agentic app development, Building applications] --- # Configure auto test prompting and UI tests Configure test settings to enable automatic test prompting and execution of UI tests in Build Agent and Autonomous Engineer. ## Before you begin Role required: admin ## About this task **Note:** As of Brazil Patch 1, the Test Agent setting for Autonomous Engineer are enabled by default. For more information on UI tests, see [UI Test Script in Automated Test Framework \(ATF\)](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/test-agent-ui-test-script-atf.md). ## Procedure 1. Navigate to **All** > **App Development** > **ServiceNow Studio** or **All** > **App Development** > **ServiceNow IDE**. 2. Select the Conversations icon \[Omitted image "ba-sns-otto-nav-icon.png"\] Alt text: in the Navigator panel to open Build Agent. 3. Select the Settings icon \[Omitted image "ba-settings-icon.png"\] Alt text: in the Build Agent chat panel. \[Omitted image "ba-settings-panel-1.png"\] Alt text: Build Agent panel showing greeting message and the Settings button 4. Enable the toggles for the following settings in the **General** tab as needed.
Setting Description
Sync ATF tests with app Generates ATF tests when Build Agent or Autonomous Engineer creates an app, and keeps them synced when the app is edited.
Run UI ATF tests Runs the client-side and server-side UI ATF tests. - The **Sync ATF tests with app** setting must be enabled. - This setting is off by default since UI runs are slower. - This setting applies to both Build Agent and Autonomous Engineer
\[Omitted image "ba-settings-tests.png"\] Alt text: Settings panel General tab showing Enable web search toggled off, and Sync ATF tests with app and Run UI ATF tests toggled on. ## Result Build Agent and Autonomous Engineer run ATF tests in conversations based on your settings. **Parent Topic:**[Build Agent configuration](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/configure-build-agent.md)