test-suite
latest
false
UiPath logo, featuring letters U and I in white

Test Suite User Guide

Automation CloudAutomation Cloud Public SectorAutomation SuiteStandalone
Last updated Dec 4, 2024

Generate synthetic test data

Important:

This feature is currently part of an audit process and is not to be considered part of the FedRAMP Authorization until the review is finalized. See here the full list of features currently under review.

This page lists guidelines to effectively use AutopilotTM for generating synthetic test data in Studio Desktop.

Test data management can consume up to 50% of your testing efforts. AutopilotTM can help you save this time, by auto-generating synthetic test data for your test cases.

Note: To generate synthetic test data, install Studio Desktop version 2024.10.1 or higher.

1. Create arguments for your data fields

When you generate your synthetic test data, Autopilot considers the existing arguments within your workflow, as well as the additional instructions provided in the prompt. With this information it will try to generate test data that leads to a high coverage within your test case.

To produce a robust set of test data, we recommend to use arguments wherever feasible, instead of relying solely on local variables, or specific string values. By using arguments, you allow Autopilot to generate test data that aligns more closely with the dynamic requirements of your workflow.

2. Provide instructions on your preferred data combination method

By default, Autopilot generates approximately ten data records, aiming to achieve high code or activity coverage within your test case. However, if your test strategy requires a specific algorithm, such as 'pairwise' or 'all combinations', include this instruction in your prompt.

For instance, consider the following example prompt: "Generate test data for every argument and combine the data fields pairwise."

3. Use the prompt instruction to customize your data set

You can also instruct Autopilot to perform various other tasks, such as generate a specific number of data records, or include additional data fields.

Consider the following example prompts:

  • "Generate a minimum of 25 data records."
  • "Include the 'Country' field in the dataset, assigning a distinct country value to each record."

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.