---
sourceDocument: Australia Build or modify applications
sourceDocumentLink: https://www.servicenow.com/docs/r/australia/application-development

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Test what you built with Autonomous Engineer

# Test what you built with Autonomous Engineer {#ariaid-title1}

Release version: Australia  
Updated November 6, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Test what you built with Autonomous Engineer

Autonomous Engineer integrates a Test Agent that automatically generates, executes, and analyzes tests for each work item it builds.
This testing process is embedded within the plan execution workflow, ensuring continuous validation of work items.
Test results are displayed directly under the respective work items in the plan dashboard, providing clear visibility and traceability within ServiceNow Studio.
Show full answer Show less  

## Key Features

* **Automatic test generation:** Tests are generated for acceptance criteria during each plan execution without separate prompting, reducing the risk of missed test coverage.
* **Test execution and results display:** Tests run automatically with results shown under each work item in the dashboard.
* **Root cause analysis (RCA) and auto-heal:** On test failures, the Test Agent performs RCA and either applies safe fixes automatically or provides actionable guidance via the chat panel, enabling issue resolution without leaving ServiceNow Studio.
* **Test management:** Generated Automated Test Framework (ATF) tests are stored under the relevant application scope and can be scheduled for regression testing.
* **Test suites:** Users can create and run test suites to execute multiple tests as a group and review consolidated results in the chat panel.
* **Stale test updates:** Tests are automatically refreshed to align with the latest application functionality.

## Test Agent Workflow

The testing workflow within Autonomous Engineer follows these steps:

* Build Agent executes the work item build phase.
* Test Agent generates functional, UI, and ATF tests contextually related to the work item.
* Autonomous Engineer prompts to run tests and analyses failures automatically.
* Test Agent performs RCA and applies fixes or suggests them through chat.
* Autonomous Engineer re-executes tests until all pass, completing an automated healing loop.

## Scope and Availability

* **Authoring environment:** ServiceNow Studio
* **Application scope:** Global, custom, and store scopes
* **Test types supported:** ATF functional tests, UI tests, and test suites
* **Execution target:** Cloud Runner lanes (requires ATF Test Generator and Cloud Runner apps with a configured cloud user)

## Practical Implications for ServiceNow Customers

By leveraging Autonomous Engineer's integrated Test Agent, customers can ensure that every build is thoroughly tested with minimal manual intervention. This feature enhances development efficiency, improves code quality through continuous feedback, and accelerates issue resolution with automated root cause analysis and healing. Test results and guidance are accessible within ServiceNow Studio, streamlining the developer experience and enabling faster delivery of reliable applications.  
Test Agent generates test coverage for each work item that Autonomous Engineer builds, executes the tests, and performs root cause analysis (RCA) on failures.

Autonomous Engineer runs Test Agent on each work item as part of plan execution. Build Agent provides the underlying execution layer for this testing. Tests are generated and run for each work item, and the results appear directly under the work item in the plan dashboard.

To enable testing in Autonomous Engineer, see [Configure auto test prompting and UI tests](https://www.servicenow.com/docs/Y1XiUOmFl7cYKVX2AA1s5A "Configure test settings to enable automatic test prompting and execution of UI tests in Build Agent and Autonomous Engineer.").

For complete documentation on Test Agent, see [Test Agent](https://www.servicenow.com/docs/KjtigkvrIJ37RW9knHUFKQ "Use Test Agent to streamline the process of authoring, running, and troubleshooting tests autonomously from a single interface. Test Agent generates test coverage for code produced by Build Agent, executes tests, and performs root cause analysis on failures, enabling end‑to‑end build‑to‑test workflows within a single development session.").  
Figure 1. Tests under a work item in Autonomous Engineer

If a test fails, Test Agent performs an RCA. It then either applies safe fixes autonomously or surfaces actionable guidance in the chat panel so you can resolve the issue without leaving ServiceNow Studio.

## Test Agent capabilities in Autonomous Engineer {#ae-test-what-you-built__section-customer-outcomes-ae}

When used with Autonomous Engineer, Test Agent does the following:

* Generates tests within the same plan execution, without a separate prompt.
* Runs the tests and shows the results under each work item.
* Performs root cause analysis on failures and either applies safe fixes or proposes fixes in the chat panel.
* Generated ATF tests are stored in the sys_atf_tests \[sys_atf_tests\] table under the app scope for which they were created. You can schedule regression test runs using the generated tests.

## Test generation {#ae-test-what-you-built__ae-test-prompt}

If automatic test generation is enabled in Build Agent settings, Autonomous Engineer generates tests for the acceptance criteria of each work item.

Automatic prompting for tests reduces the chance of skipping test coverage during execution by keeping test generation part of the standard work item loop.

To manually prompt for tests, ask Autonomous Engineer to <kbd class="ph userinput">Generate ATF tests for all the feature permutations on the app we built</kbd>. Then tell Autonomous Engineer to <kbd class="ph userinput">Execute all ATF tests.</kbd>

## Test Agent workflow {#ae-test-what-you-built__section-how-it-works-ae}

The end-to-end workflow is:

1. Autonomous Engineer builds a work item in the execution phase.
2. Test Agent uses the work item context to generate contextually relevant functional, UI, and ATF tests.
3. Autonomous Engineer asks whether you want to run the tests.
4. Failures are automatically triaged. Test Agent produces an RCA and either applies safe fixes autonomously or proposes them through the chat panel.
5. Autonomous Engineer ingests the RCA and re-executes tests until a passing status is achieved, completing the auto-heal loop. Stale tests are automatically updated to reflect the newest functionality.
6. View tests in the Work item dashboard.
7. Optionally, ask Autonomous Engineer to create or run a test suite to execute multiple tests as a group and review consolidated results in the chat panel.
{#ae-test-what-you-built__ol_ae_test_workflow}

## Scope and availability {#ae-test-what-you-built__section-scope-and-availability-ae}

Test Agent is available for Autonomous Engineer in the following environments and scopes:{#ae-test-what-you-built__table_ae_test_scope__entry__2}

| Dimension | Supported values |
|-|-|
| Authoring environment | ServiceNow Studio |
| Application scope | Global, custom, store |
| Test types | ATF functional tests, UI tests, and test suites |
| Execution target | Cloud Runner lanes |
[Table 1. Test Agent scope and availability]

{#ae-test-what-you-built__table_ae_test_scope}  
Note:  
Test execution requires the ATF Test Generator and Cloud Runner app to be installed and a cloud user set up. For more information, see [ATF Test Generator and Cloud Runner](https://www.servicenow.com/docs/access?context=atf-tg-cr-intro&version=australia&pubname=australia-servicenow-platform&ft:locale=en-US).

