Test Agent guidelines
concept australia Updated Sep 10, 2026 1 min read test-agent-exceptions.md
Leverage the full potential of Test Agent by following these guidelines.
Supported metadata
Test Agent supports the following metadata:
- sys_ui_action
- sys_ui_policy
- sys_ui_policy_action
- sys_ui_policy_rl_action
- sys_script_client
- sys_ui_script
- sys_data_policy2
- sys_ui_action_role
- sys_ui_action_view
- sys_ui_base_theme
- sys_ui_form
- sys_ui_formatter
- sys_ui_macro
- sys_ui_message
- sys_ui_related_list
- sys_ui_section
- sys_ui_view
- sys_ui_title
- sys_ui_style
- sys_ui_theme
- sys_ui_page
- sys_ui_context_menu
- sys_ui_list
- sys_ui_list_control
- sys_ui_list_control_embedded
- sys_ui_list_script_client
- sys_ui_list_script_server
- sys_ui_related_list
- sys_user_role
- sys_app_application
- sp_widget
- sp_instance
- sys_security_acl_role
- sys_script
- sys_app_module
- sysevent_email_action
- sys_report
- sys_security_acl
- catalog_ui_policy
- catalog_ui_policy_action
- sp_theme
- sp_widget
- sys_sg_universal_link_path_segment
- sys_sg_sections_screen_m2m_section
- sys_sg_location_tracking_details
- sys_highlighted_value_condition
- sys_sg_card_size
- sys_sg_custom_map_config
- sys_sg_empty_state
- sys_aw_form_header_secondary_values
- sys_aw_registered_scripting_modal
- sys_template
- sys_sg_alert
- sys_aw_form_header
- sys_script_include
- sys_scriplet_function
- sys_ui_extension_instance
- sys_playbook_experience_action_assignment_map
- sys_df_data_filtration
- sys_email_address_filt_domain
- sys_atf_step
- sys_atf_test
- sys_atf_step_config
- atf_input_variable
Exceptions
Test Agent doesn't support the following metadata:
- Flows
- Configurable workspace steps
- Custom UI test steps
- Custom test steps
Scope and availability
Test Agent is available in the following environments and scopes:
| Dimension | Supported values |
|---|---|
| Authoring environment | ServiceNow IDE or ServiceNow Studio |
| Application scope | Global, custom, store |
| Test types | ATF unit tests, ATF functional tests |
| Execution target | Cloud runner lanes |
Example prompts
- Write an ATF test in the global scope to validate that an employee can order a laptop from the Service Catalog.
- Write an ATF test to validate that internal IT knowledge articles are not visible to self‑service users.
- Write an ATF test to validate that all mandatory fields on the Incident form are completed before submission.
Note: The examples above are prompts for authoring ATF tests in the global scope. To run a test, prompt to execute the ATF test by specifying its name or sys_id. To troubleshoot a failure, prompt to triage the failed ATF test by providing the test name or the sys_id of the test result.
Parent Topic:Test Agent references
Keywords ServiceNow OttoAI Agentsgenerative AIagentic AI
117 lines · 3.6 KB
--- title: Test Agent guidelines description: Leverage the full potential of Test Agent by following these guidelines. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/application-development/test-agent-exceptions.html release: australia topic_type: concept last_updated: "2026-09-10" reading_time_minutes: 1 keywords: [ServiceNow Otto, AI Agents, generative AI, agentic AI] breadcrumb: [References, Test Agent, Build, AI Workflow Factory Prime, Agentic app development, Building applications] --- # Test Agent guidelines Leverage the full potential of Test Agent by following these guidelines. ## Supported metadata Test Agent supports the following metadata: - sys\_ui\_action - sys\_ui\_policy - sys\_ui\_policy\_action - sys\_ui\_policy\_rl\_action - sys\_script\_client - sys\_ui\_script - sys\_data\_policy2 - sys\_ui\_action\_role - sys\_ui\_action\_view - sys\_ui\_base\_theme - sys\_ui\_form - sys\_ui\_formatter - sys\_ui\_macro - sys\_ui\_message - sys\_ui\_related\_list - sys\_ui\_section - sys\_ui\_view - sys\_ui\_title - sys\_ui\_style - sys\_ui\_theme - sys\_ui\_page - sys\_ui\_context\_menu - sys\_ui\_list - sys\_ui\_list\_control - sys\_ui\_list\_control\_embedded - sys\_ui\_list\_script\_client - sys\_ui\_list\_script\_server - sys\_ui\_related\_list - sys\_user\_role - sys\_app\_application - sp\_widget - sp\_instance - sys\_security\_acl\_role - sys\_script - sys\_app\_module - sysevent\_email\_action - sys\_report - sys\_security\_acl - catalog\_ui\_policy - catalog\_ui\_policy\_action - sp\_theme - sp\_widget - sys\_sg\_universal\_link\_path\_segment - sys\_sg\_sections\_screen\_m2m\_section - sys\_sg\_location\_tracking\_details - sys\_highlighted\_value\_condition - sys\_sg\_card\_size - sys\_sg\_custom\_map\_config - sys\_sg\_empty\_state - sys\_aw\_form\_header\_secondary\_values - sys\_aw\_registered\_scripting\_modal - sys\_template - sys\_sg\_alert - sys\_aw\_form\_header - sys\_script\_include - sys\_scriplet\_function - sys\_ui\_extension\_instance - sys\_playbook\_experience\_action\_assignment\_map - sys\_df\_data\_filtration - sys\_email\_address\_filt\_domain - sys\_atf\_step - sys\_atf\_test - sys\_atf\_step\_config - atf\_input\_variable ## Exceptions Test Agent doesn't support the following metadata: - Flows - Configurable workspace steps - Custom UI test steps - Custom test steps ## Scope and availability Test Agent is available in the following environments and scopes: |Dimension|Supported values| |---------|----------------| |Authoring environment|ServiceNow IDE or ServiceNow Studio| |Application scope|Global, custom, store| |Test types|ATF unit tests, ATF functional tests| |Execution target|Cloud runner lanes| ## Example prompts - Write an ATF test in the global scope to validate that an employee can order a laptop from the Service Catalog. - Write an ATF test to validate that internal IT knowledge articles are not visible to self‑service users. - Write an ATF test to validate that all mandatory fields on the Incident form are completed before submission. **Note:** The examples above are prompts for authoring ATF tests in the global scope. To run a test, prompt to execute the ATF test by specifying its name or sys\_id. To troubleshoot a failure, prompt to triage the failed ATF test by providing the test name or the sys\_id of the test result. **Parent Topic:**[Test Agent references](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/test-agent-references.md)
| title | Test Agent guidelines |
| description | Leverage the full potential of Test Agent by following these guidelines. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/application-development/test-agent-exceptions.html |
| release | australia |
| topic_type | concept |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| keywords | ServiceNow OttoAI Agentsgenerative AIagentic AI |
| breadcrumb | ReferencesTest AgentBuildAI Workflow Factory PrimeAgentic app developmentBuilding applications |