Submission type
Generic use case
Name
API-based Test Execution with Dynamic Parameters
Industry category in which use case would best fit in (Select up to 2 industries)
IT & services
Manufacturing
Complexity level
Advanced
Summary (abstract)
This approach enables to dynamically infuse and retrieve data in an E2E automated test scenario, where (1) a 3rd-party system provides the data to UiPath, and (2) UiPath provides the results for further processing in the E2E test.
Detailed problem statement
The input value must be provided before each execution, while keeping the underlying test automation reusable.
We needed to execute the same automated test case repeatedly with different input
data, for example a different OrderID for every execution.
Creating separate test cases or manually changing parameters was not scalable.
Detailed solution
We implemented an API-driven flow:
- Get Parameters – Retrieve the test case parameters.
- Override Parameters – Set the runtime value using bulkoverrideparameters.
- Start Execution – Trigger the test execution.
- Monitor Status – Track PENDING → RUNNING → PASSED/FAILED.
- Retrieve Results – Collect the result and correlate it with the input data.
You can find your APIs in your swagger for test manager and test it there directly.
You can also search there for projectID and testsetID that are needed for this solution.
Narrated video link (sample: https://bit.ly/4pvuNEL)
n.a. (see process diagram with body example below)
Expected impact of this automation
This creates a simple data-driven execution pattern where one reusable automation can be triggered repeatedly with different test data.
UiPath products used (select up to 4 items)
UiPath Integration Service
UiPath Studio
UiPath Test Cloud
UiPath Test Manager
Integration with external technologies
Selenium, API-based 3rd party integration
