Abonnieren

UiPath Studio

UiPath Studio-Anleitung

Datengesteuertes Testen

Überblick


Data-driven testing allows you to test your RPA workflows and applications to make sure that the automations can handle multiple scenarios.

Data sources


When you configure data sources for your data variation, you can choose from the following options:

Manage test data


The following table lists the actions that you can take for test cases that contain data variation.

Action

Description

Procedure

Update test data

Update the imported test data by choosing whether to create a new file or overwrite existing data. You can use this when you have made any changes to the Excel file. Any new columns will be added as arguments to the test case.

For Data Service entities, you can update the test case using new filter through the Query Builder.

  1. Open Studio and navigate to your project.
  2. In the Project panel, right-click a test case with data variations and select Update test data.
  3. Select a data source from the Source dropdown list.

For Files (e.g., Excel), you need to browse for the file and select the Worksheet. You can select individual or all values from the file.

For Data Service, you need to select an entity.
For Test Data Queue, you need to select a test data queue.

  1. (Optional) Select Update all test cases using the same test data to update all the test cases that use the test data that you are currently editing.
  2. Click Import to save changes.

You can perform this action in Test Explorer by right-clicking a file, and then choosing Update Test Data.

Remove test data

Remove test data from the test case.

  1. Open Studio and navigate to your project.
  2. In the Project panel, right-click a test case with data variations and select Remove test data.

You can perform this action in Test Explorer by right-clicking a file, and then choosing Remove Test Data.

Modify test data JSON file

Update test data directly into the JSON file. The file is created after adding test data to the test case.

Only for test data files.

  1. Open Studio and navigate to your project.
  2. Navigate to Project > Test Data and open the JSON file with a code editor.
    The JSON file name is stored as ExcelName_SheetNo.json.

Aktualisiert vor 29 Tagen

Datengesteuertes Testen


Auf API-Referenzseiten sind Änderungsvorschläge beschränkt

Sie können nur Änderungen an dem Textkörperinhalt von Markdown, aber nicht an der API-Spezifikation vorschlagen.