Exploring Test Agent

concept australia Updated Sep 10, 2026 2 min read test-agent-explore.md
Raw file servicenow.com

Test Agent autonomously manages end‑to‑end test authoring, execution, and troubleshooting from a single prompt.

Test Agent overview

By extending Build Agent, Test Agent uses the same prompt and code context to generate unit and functional ATF tests, run the tests, and automatically triage failures.

[Omitted image "test-agent-new.gif"] Alt text: Gif showing test agent

Test Agent delivers the following measurable outcomes:

  • Build and test together: Author code and generate tests sequentially in a single Build Agent session.
  • Faster failure resolution: Automated root cause analysis and recommended fixes reduce test failure investigation time. When a test fails, Test Agent performs root cause analysis and either automatically applies safe fixes or provides actionable guidance in the chat panel, enabling issue resolution without leaving the ServiceNow IDE.
  • Greater release confidence: Automated tests enforce quality gates and validate code health before promoting to production.
  • Seamless test reuse and execution: All generated ATF tests are stored in the standard sys_atf_tests table within the target application scope and can be reused to schedule and run regression tests, just like manually authored ATF tests.

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.

Test Agent users

AI agents use role masking to determine which users can access them. Ones installed with your applications have specific roles that come included with the application. If you select Users with specific roles for user access, you must configure the security controls to include these roles. For the instructions to change the security controls, see Define security controls for an AI agent.

Test Agent has the following users.

Users Description
admin This role is required to access Test Agent and its capabilities.

Test Agent benefits

Benefit Feature Users
One-stop shop experience Author, execute, and troubleshoot tests and test suites with Test Agent admin

What to explore next

To learn more about configuring and using Test Agent, see:

Parent Topic:Test Agent

Keywords ServiceNow OttoAI Agentsgenerative AIagentic AI
Search documentation
Search document titles and file paths on the australia branch