Exploring Test generation
Summarize
Summary of Exploring Test generation
The Test generation application in ServiceNow revolutionizes test automation by using AI to create comprehensive test scripts from high-level, natural language test requirements. This reduces manual effort and technical complexity, enabling users to generate, refine, and finalize test cases efficiently without needing to save intermediate versions.
Show less
The application supports multiple AI model providers, including Now LLM Service, Azure OpenAI, Google Gemini, and Anthropic Claude on AWS. Configuration of AI options is managed via AI Control Tower and Now Assist Admin console, ensuring flexible and controlled use of generative AI capabilities.
User Roles and Access
- systemadmin: Required for setup and writing Test generation tests.
- atftestadmin: Needed to setup and write Automated Test Framework (ATF) tests and access Test generation functionalities.
- atftestdesigner: Can write and debug ATF tests and utilize the Test generation application.
- atfwsdesigner: Has access to web service modules for test development, can build web service and ATF tests, and use Test generation features.
Key Benefits
- Automated Test Creation: Generates tests from simple descriptions, saving time and effort.
- Editable Test Scripts: Allows users to preview and refine generated tests before finalizing them.
Next Steps
To effectively apply Test generation in your ServiceNow environment, explore detailed usage instructions and reference materials available within the platform under "Using Test generation" and "Test generation references."
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.
Test generation overview
- 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, Azure OpenAI, Google Gemini or Anthropic Claude on AWS as the AI model provider for all generative AI 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
| 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 |