Creating a suite with AI-generated scenarios and tests
You can create a scenario-based suite and then generate tests for all scripts in a single run by using AI-powered Test Genie. This bulk generation helps to streamline test creation for multiple scripts in a single run.
Before you begin
You must have completed the following tasks:
- Ensured that you are assigned a Team Space Owner, Project Owner, or Member with a Tester role to create or edit a test resource. See Managing access to the server projects.
- Read and understood the information in Edit branch overview.
- Ensured that your project contains an application with an application URL and application description details.
- Configured at least one AI provider in the Cloud Credentials page. See Adding cloud credentials of AI providers.
Procedure
-
Log in to Test Hub.
The Projects page of the initial team space is displayed.
-
Click to open the target project.
The Overview page of the project is displayed.
-
Click .
The Test Editor page and test navigator panel are displayed.
-
Perform any of the following actions:
- Click on the Test Editor page.
- Click the Action Menu icon
and select
Suite. - Right-click the application in the test navigator panel and select .
The Edit Branch dialog is displayed if there is no edit branch active. Otherwise, go to step 6.
- Select an existing edit branch or create a new edit branch.
-
Perform the following steps in the Create Suite dialog to create
a suite:
-
Click Reload.
The new suite is displayed with generated empty tests that contain Open steps and AI-generated intents. You can click the Show AI Intent icon
to view the step details that are generated for test creation. - Optional: Open each empty test to edit the AI-generated intent in the Test Genie tab and save the changes.
-
After validating intents, click the Generate Tests icon
from the suite toolbar.
The Generate Test dialog is displayed. - Enter the application URL in Start URL if it is not displayed.
- Select an AI provider from the configured AI Provider list.
-
Click Generate.
All tests in the suite are generated in one flow, and tests are uploaded incrementally as each test generation is completed.
Results
What to do next
You can perform the following tasks:
- Run the generated suite and view results. See Running a suite sequentially and Running a suite concurrently.
- Revise the test intent and regenerate the individual tests by using Test Genie. See Modifying a Web UI test created by using Test Genie.