Exploring Test generation

  • Release version: Australia
  • Updated March 12, 2026
  • 2 minutes to read
  • Summarize
    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 Exploring Test generation

    The Test generation application in ServiceNow streamlines the creation of automated test cases by leveraging AI to convert high-level, natural language test requirements into detailed test scripts. Introduced prior to the Australia release, this application significantly reduces the manual effort and technical expertise required to generate comprehensive test cases. Users can iteratively refine prompts and generated tests until the desired outcomes are achieved.

    Show full answer Show less

    Note that starting with the Australia release, Test generation is being prepared for future deprecation: it will no longer be installed on new instances but will continue to be supported. Customers should review the deprecation process for planning purposes.

    Key Features

    • AI-Powered Test Script Creation: Converts simple test requirements into thorough automated test scripts using natural language processing.
    • Multi-AI Model Support: Supports various AI providers including Now LLM Service, Now LLM Long Term Stable models (LTS), Azure OpenAI, Google Gemini, and Anthropic Claude on AWS, configurable via AI Control Tower and Now Assist Admin console.
    • Iterative Prompt Refinement: Allows users to modify and improve test prompts continuously without needing to save intermediate versions until the final test is ready.
    • Role-Based Access: Specific roles are designated for setup and test creation, including systemadmin with now.assist.creator, atftestadmin, atftestdesigner, and atfwsdesigner, ensuring secure and appropriate access.

    Benefits for ServiceNow Customers

    • Reduced Manual Effort: Automates test case creation, saving significant time and resource investment.
    • Accessible Testing Process: Enables users with less technical expertise to create detailed automated tests through natural language inputs.
    • Comprehensive Coverage: Generates thorough test cases to improve the quality and reliability of automated testing.
    • Flexible AI Integration: Customers can choose from multiple AI model providers to suit their preferences and compliance requirements.

    Next Steps

    To maximize the value of Test generation, customers should explore detailed usage guidance and references available within the ServiceNow platform under "Using Test generation" and related documentation. Additionally, customers should plan for the upcoming deprecation by reviewing the official deprecation guidelines.

    If you are new to Test generation application, read this overview to learn what the app can do.

    Starting with the Australia release, Test generation is being prepared for future deprecation. It will be hidden and no longer installed on new instances but will continue to be supported. For details, see the Deprecation Process [KB0867184] article in the Now Support Knowledge Base.

    Follow the gif to create tests from natural language leveraging AI power.

    Gif showing the working of Test generation

    Test generation overview

    Revolutionize your test automation with Test generation application. Simply outline your test requirements, and Test generation will generate a comprehensive test script. You can then refine the generated test to meet your exact specifications. It helps you achieve the following:
    • Test generation store application simplifies the process of creating test cases, significantly reducing manual effort and time.
    • You can only provide high-level test requirements, making the process more accessible and less technical.
    • Test generation application generates comprehensive test cases, ensuring thorough testing coverage.
    • You can keep modifying the prompt without saving the generated tests until the final objective has been attained.

    You can use Now LLM Service, Now LLM Long Term Stable models (LTS), Azure OpenAI, Google Gemini or Anthropic Claude on AWS as the AI model provider for all Now Assist skills and AI agents. Use the Configuration Controls in AI Control Tower to define which options are available, then set the skill-level preferences in the Now Assist Admin console. For more information, see Large language models on the ServiceNow AI Platform®.

    Test generation users

    Test generation has the following users.
    Users Description
    system_admin + now.assist.creator This role is required for the setup of the Test generation store application and write Test generation tests.
    atf_test_admin + now.assist.creator This role is required to setup and write ATF tests, access the Test generation application, and write Test generation tests.
    atf_test_designer + now.assist.creator This role can write and debug ATF tests, access the Test generation application and write Test generation tests.
    atf_ws_designer + now.assist.creator This role can access web service modules for test development, build web service tests, write ATF tests, access the Test generation application and write Test generation tests.

    Test generation benefits

    Benefit Feature Users
    Automate test generation Generate a test using Test generation System Administrator and Creator Pro
    Edit a generated test after the preview Edit a generated test using Test generation System Administrator and Creator Pro

    What to explore next

    To learn more about using Test generation, see: