Auto-assigning generators and AI-provided data configurations to data definitions in the Schema View

You can use AI assistance to automatically assign generators and AI-provided data configurations to the fields in data definitions within the Schema View.

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.
  • Read and understood the information in Edit branch overview and Create or select an Edit branch.
  • Ensured that your project contains a Web UI test or suite.
  • Ensured that the required variables have been created and are included in your Web UI test or suite.
  • Ensured that your project contains a dataset.
  • Ensured that you have configured the required AI provider credentials. For more information, see Adding cloud credentials of AI providers.

About this task

When a schema contains multiple data definitions and fields, manually assigning generators and configuring them can be time-consuming. AI-based inference analyzes the available field information and recommends suitable generators and data configurations for the selected data definitions.

Note:
Existing generators remain unchanged unless you select the option to overwrite them.

Procedure

  1. Log in to Test Hub.
    The Projects page of the initial team space is displayed.
  2. Click My projects > project_name to open the project that contains the test assets.

    The Overview page of the project is displayed.

  3. Click Author > Data.
    The Data page and the data navigator panel are displayed.
  4. Select the schema that you want to edit in the data navigator panel.

    The selected schema opens in the Data page.

  5. Click the Update icon update icon.
  6. Select the Assign generators to fields checkbox.

    The AI Provider option is displayed.

  7. Select the configured AI Provider from the drop-down list.
    Note:
    When you select an AI provider, sample data from the selected tables is shared with the AI service to configure generators.
  8. Optional: Select the Overwrite existing generators checkbox to overwrite the existing generators.
  9. Click Update.
    Note:
    Verify the AI-provided generator configurations to ensure their accuracy, as AI-produced data might contain errors.

Results

You have automatically assigned generators and AI-provided data configurations to the fields in the selected data definitions.