Exploring Test generation
Summarize
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 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.
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, 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
| 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 |