When creating a new test case in UiPath Studio, you can configure a data source that can be imported through arguments and used when running the test case. You can choose from different options for the data source, such as File, Data Service, Test Data Queue, and Auto Generate. Each option has different implications for how the test data is updated in UiPath Orchestrator once the test case is published.
The option that restricts dynamic data update in UiPath Orchestrator once the test case is published is File. This option allows you to use Excel and CSV files as data sources for your test cases. When you import a file as a data source, a JSON file is created in the Test Data folder of your project, which contains the test data values. When you publish the test case, the JSON file is also published and stored in Orchestrator. The test data values are not updated dynamically in Orchestrator, unless you manually update the test data by choosing the Update Test Data option in Studio or Test Explorer. This option is useful when you want to use static or predefined test data that does not change frequently.
The other options do not restrict dynamic data update in UiPath Orchestrator once the test case is published. Option A, Test Data Queue, allows you to use a queue in Orchestrator as a data source for your test cases. You need to configure a JSON schema and add a test data queue in Orchestrator before using this option. The test data values are updated dynamically in Orchestrator, as the queue items are processed by the test case. This option is useful when you want to use queue items as test data and track their status and progress. Option B, Data Service with Filter, allows you to use Data Service entities as data sources for your test cases. Data Service is a feature of Automation Cloud that lets you create and manage data entities and relationships. You need to select an entity and apply a filter using the Query Builder before using this option. The test data values are updated dynamically in Orchestrator, as the entity records are modified by the test case or other processes. This option is useful when you want to use data entities as test data and perform CRUD operations on them. Option D, Auto Generate, allows you to use test data that is automatically generated by UiPath Studio to cover as many paths as possible during execution. You need to select a test data generation strategy and a number of test data sets before using this option. The test data values are updated dynamically in Orchestrator, as the test case is executed with different data sets. This option is useful when you want to use random or diverse test data that can increase the test coverage and quality.
References: Studio - Data-Driven Testing - UiPath Documentation Portal, RPA Testing with Studio - UiPath Academy, Step-by-step illustration of UiPath Test Suite | Community Blog, How to Create Test Automation with UiPath Studio