---
sourceDocument: Australia Build or modify applications
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/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

# Test what you built {#ariaid-title1}

Release version: Australia  
Updated August 25, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 4 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 Agent in ServiceNow Australia Release

Test Agent enhances the Build Agent experience by automating test coverage generation, test execution, and failure root cause analysis (RCA) within a single development session.
It enables developers to seamlessly build and test code changes without manual test authoring or failure investigation, ensuring every build is safe before release.
Test Agent generates functional Automated Test Framework (ATF) tests, executes them, and automatically triages failures, offering either auto-applied fixes or actionable guidance directly in the ServiceNow Studio or IDE chat panel.
Show full answer Show less  

## Key Features

* **Integrated Build-to-Test Workflow:** Combines code development and automated test creation/execution within the same Build Agent session, eliminating context switching.
* **Automated Test Generation and Prompting:** After code changes, Test Agent prompts developers to generate ATF tests, including functional and UI tests, reducing the risk of skipped test coverage during rapid development.
* **Comprehensive Test Types:** Supports functional ATF tests, UI tests covering browser interactions, and list and related list test steps to extend coverage beyond form-based scenarios.
* **Test Suite Management:** Allows creation, editing, and execution of ATF test suites from Build Agent, simplifying regression testing with consolidated results in the chat panel.
* **Assisted Troubleshooting and Auto-Healing:** Automatically performs RCA on test failures, proposes or applies fixes, and re-runs tests to achieve passing status without manual intervention.
* **Automatic Test Maintenance:** Detects and updates stale or outdated ATF tests to reflect current application changes, reducing manual test audit efforts.
* **Scope and Environment Support:** Available in ServiceNow Studio, IDE, and SDK (execution only); supports global, custom, and store app scopes; requires ATF Test Generator and Cloud Runner apps for execution.

## Key Outcomes

* **Streamlined Development:** Enables building and testing in one continuous session, improving developer productivity and focus.
* **Accelerated Failure Resolution:** Reduces time spent investigating test failures through automated RCA and suggested fixes.
* **Increased Release Confidence:** Enforces quality gates with automated test execution, providing verifiable evidence of code health before production deployment.
* **Efficient Test Management:** Maintains up-to-date test suites aligned with ongoing development, minimizing maintenance overhead.

## Practical Application for ServiceNow Customers

ServiceNow customers leveraging Test Agent can expect an end-to-end automated testing experience integrated tightly with their development workflow. By adopting Test Agent, customers can ensure comprehensive test coverage is generated and maintained automatically, enabling faster delivery cycles and higher software quality. The auto-healing capability reduces manual debugging and test maintenance effort, freeing developers to focus on feature development. Customers should ensure the ATF Test Generator and Cloud Runner apps are installed and configured to fully utilize Test Agent's execution and reporting capabilities.  
Test Agent generates test coverage for code created by Build Agent, executes tests, and performs root cause analysis (RCA) on failures. Prompt Test Agent to complete build-to-test workflows in a single development session without manual test authoring or failure investigation.
Test Agent extends Build Agent by making every build safe before release. After Build Agent produces code changes in a development instance, Test Agent consumes the same prompt and code context. It uses those to author functional Automated Test Framework (ATF) tests, execute those tests, and triage any failures automatically.  
* For details on configuring tests in Build Agent, see [Configure auto test prompting and UI tests](https://servicenow-prod.fluidtopics.net/Y1XiUOmFl7cYKVX2AA1s5A "Configure test settings to enable automatic test prompting and execution of UI tests in Build Agent.").
* For more information ATF test generation, see [ATF test generation in Build Agent](https://servicenow-prod.fluidtopics.net/GwL7NtCokCMibYD5FATWCw "The Build Agent can generate Automated Test Framework (ATF) tests while you create or edit applications. This capability helps validate your builds with consistent, automated test coverage.").
* For complete documentation on using Test Agent, see [Test Agent](https://servicenow-prod.fluidtopics.net/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.").
{#build-agent-testing__ul_m5z_23j_zjc}

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

## Customer outcomes {#build-agent-testing__section-customer-outcomes}

Test Agent delivers the following measurable outcomes:

* Build and test in one session: You no longer need to context-switch between authoring code and writing tests. Both happen sequentially within the same Build Agent session.
* Faster failure triage: Automated RCA and proposed fixes reduce the time you spend looking through logs after a test run.
* More release confidence: Measurable quality gates enforced by automated test execution give you verifiable evidence of code health before promotion to production instances.
* 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.
{#build-agent-testing__ul_bcc_y2n_y3c}

## Test generation prompting {#build-agent-testing__section-test-generation-prompting}

After each development action in Build Agent, Test Agent asks whether to generate ATF tests for what you just built. You can accept or decline the prompt at each step. When you accept the prompt, Test Agent generates tests before returning control to you in the chat panel.Figure 1. Automatic test prompting

Automatic prompting for tests reduces the chance of skipping test coverage during rapid development by keeping test generation as part of the standard development loop.

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

## Test Agent workflow {#build-agent-testing__section-how-it-works}

The end-to-end workflow is:

1. Create or edit an app in a development instance using Build Agent in ServiceNow Studio or the ServiceNow IDE, driven by your prompt.
2. Test Agent consumes the prompt and the resulting code changes to generate contextually relevant functional and UI ATF tests.
3. Respond to Build Agent asking 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 to you through the Build Agent chat panel.
5. Build Agent ingests the RCA from Test Agent 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. Alternatively, ask Build Agent to create or run a test suite to execute multiple tests as a group and review consolidated results in the chat panel.
{#build-agent-testing__ol_ccc_y2n_y3c}

## Key developer experiences {#build-agent-testing__section-key-experiences}

Autonomous test authoring
:   When you use Build Agent to implement a story, you can prompt it to create functional and UI tests automatically.

UI testing
:   Generate comprehensive UI tests for applications you build with Build Agent. UI testing extends the existing functional test capability to cover browser-level interactions, such as multi-step page navigation flows. Request a UI test by prompting Build Agent to generate a UI test for the application or flow you want to validate. For more information, see [UI Test Script in Automated Test Framework (ATF)](https://servicenow-prod.fluidtopics.net/7RXbLklLHnoTM3kvAicXww "UI Test Script enables you to create test code for custom user interfaces exposing elements of Testing Library within the Automated Test Framework (ATF). Generate test scripts through conversational interaction with Build Agent and run them alongside other ATF tests.").Figure 2. UI tests

List and related list step generation
:   Test Agent can generate ATF tests that use list and related list test steps, including validate related list visibility and apply filter to list tests. List step support extends test coverage
    beyond form-based interactions to include list view interactions on the ServiceNow AI Platform. For more information on list and related list test steps, see [List and Related List](https://servicenow-prod.fluidtopics.net/1Shxs10waUdUayJYH65swA#test-steps-list-related-list "Validate the functionality and visibility of records and UI actions in lists and related lists."). Available with Australia Patch 6 and later.

Test suite authoring and execution
:   Create ATF test suites and edit existing ones from Build Agent. Group individual tests under a suite and execute the suite from the chat panel to run regression testing without selecting individual tests. Execution status and any errors are
    reported in the chat panel. For more information on test suites, see [Building and running automated test suites](https://servicenow-prod.fluidtopics.net/HszHcqEsFhIuYBqc0uy7qg "Run a group of tests in a specific order to test an application or a group of related features."). Available with Australia Patch 6 and later.

Assisted troubleshooting
:   Test Agent automatically troubleshoots failed tests, generates RCAs, and proposes targeted fixes, eliminating manual log investigation.

Auto-healing
:   Build Agent consumes the RCA produced by Test Agent and applies fixes to code or tests, then re-executes the test suite until all tests reach a passing status. This removes the need for developers to manually patch and maintain tests during a
    session.

Automatically updated tests
:   Test Agent automatically identifies outdated ATF tests as your application changes, and updates or removes them to keep your test suite aligned with your current code. Tests that no longer map to
    application artifacts are removed. Tests that partially match updated artifacts are revised to reflect the current implementation. Automatic test maintenance reduces the overhead of keeping ATF tests synchronized
    with ongoing development and removes the need to manually audit and update tests after each code change.

## Scope and availability {#build-agent-testing__section-scope-and-availability}

Test Agent is available in the following environments and scopes:  
{#build-agent-testing__table_dcc_y2n_y3c__entry__2}

| Dimension | Supported values |
|-|-|
| Authoring environment | ServiceNow Studio, the ServiceNow IDE, and the ServiceNow SDK (execution tool only) |
| Application scope | Global, custom, store |
| Test types | ATF functional tests, UI tests, and test suitesATF functional and UI tests |
| Execution target | Cloud Runner lanes |
[Table 1. Test Agent scope and availability]

{#build-agent-testing__table_dcc_y2n_y3c}  
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).

