データ ドリブンなテストでは、RPA ワークフローやアプリケーションをテストしてオートメーションが複数のシナリオに対応できることを確認できます。
前提条件
Orchestrator version equal to, or higher than 2022.4.
データ ソース
データ バリエーションのデータ ソースを設定する際は、以下のオプションから選択できます。
- File, if you want to use Excel and CSV files.
- Auto Generate, for test data that is automatically generated to cover as many paths as possible during execution.
- Data Service, if you use Data Service entities (Automation Cloud only).
- プロジェクトの Test Data フォルダーに既に格納されている各種データの既存のデータを使用する場合
- Test Data Queue if you have configured a JSON schema and added a test data queue in Orchestrator.
テスト データを管理する
以下に、データ バリエーションを含むテスト ケースに対して実行できる操作のリストを示します。
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. 4. (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. 5. 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 . |
ファイルの名前を変更するには、右クリックして [名前を変更]を選択し、画面上で名前を変更します。
10 日前に更新