Studio
2024.10
False
Guide de l’utilisateur de Studio
Last updated 28 juin 2024

AI-generated test data

You can generate test data that is highly specific for your testing needs, using the AI-powered capabilities offered by AutopilotTM. Autopilot initially generates arguments and variables that might be relevant for the test data set, and then allows you to further refine it, using prompt instructions.

Prérequis

For Autopilot to generate test data, your test case must contain arguments of the types that we currently support. Check the Supported argument types section for the list of argument types that you can include in your test cases.

Types d'arguments pris en charge

The supported argument types for AI-generated test data are:

  • Chaîne de caractères (string)
  • Int32, Int64
  • Double
  • Décimale
  • Booléen
  • Char
  • Byte
  • SByte
  • UInt16, UInt32, UInt64
  • Simple

Generate test data for test cases

To generate test data with Autopilot for a low-code or coded test case:

  1. Open the Test Explorer.
  2. Right-click the test case for which you want to generate test data, and select Add Test Data.
  3. From the Source dropdown list, select Generate with Autopilot.

    In the Import Data Variation Source window, Autopilot now generates initial test data for the supported arguments found within the test case.

  4. Optionally, refine the generated test data using the Write an additional prompt for better results during generation text field.
  5. When you are satisfied with the generated test data, select Import to add the data to your test case.


Meilleures pratiques

Visit Generating synthetic test data to check the recommendations for effectively generating AI-powered test data. The best practices contain tips about:

  • How to create arguments for a robust set of data.
  • How use instructions for your preferred data combination methods.
  • How to use prompts to customize your data set.

Cette page vous a-t-elle été utile ?

Obtenez l'aide dont vous avez besoin
Formation RPA - Cours d'automatisation
Forum de la communauté UiPath
Logo Uipath blanc
Confiance et sécurité
© 2005-2024 UiPath. All rights reserved.