Exploring Test generation

  • Release version: Zurich
  • Updated July 31, 2025
  • 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 Zurich release enables you to automate the creation of test scripts by simply outlining high-level test requirements. Leveraging AI technologies such as Now LLM Service, Azure OpenAI, Google Gemini, and Anthropic Claude, it generates comprehensive test cases to streamline test automation. This approach reduces manual effort and technical complexity, allowing users to iteratively refine generated tests until they meet exact specifications.

    Show full answer Show less

    Key Features

    • AI-powered test script generation: Create detailed test cases from natural language inputs, ensuring thorough testing coverage.
    • Iterative prompt modification: Modify test generation prompts repeatedly without saving intermediate results, facilitating flexible test development.
    • Integration with multiple AI providers: Supports various AI model providers configurable via AI Control Tower and Now Assist Admin console.
    • Role-based access: Different user roles such as systemadmin, atftestadmin, atftestdesigner, and atfwsdesigner provide tailored access and capabilities within the Test generation application and ATF (Automated Test Framework).

    Key Outcomes

    • Significant reduction in time and manual effort for creating test cases.
    • Lower barrier to entry by allowing users to provide high-level requirements instead of detailed scripts.
    • Enhanced test coverage and quality through comprehensive AI-generated test scripts.
    • Ability to refine tests interactively before finalizing, ensuring alignment with testing objectives.

    Next Steps

    To get started with Test generation or deepen your understanding, explore the detailed guidance on using the application and related references for best practices.

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

    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 This role is required for the setup of the Test generation store application and write Test generation tests.
    atf_test_admin This role is required to setup and write ATF tests, access the Test generation application, and write Test generation tests.
    atf_test_designer This role can write and debug ATF tests, access the Test generation application and write Test generation tests.
    atf_ws_designer 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
    Edit a generated test after the preview Edit a generated test using Test generation System Administrator

    What to explore next

    To learn more about using Test generation, see: