test-suite
latest
false
- Getting Started with Test Suite
- Studio
- Orchestrator
- Testing robots
- Test Manager
- Change Impact Analysis
- Requirements
- Assigning test cases to requirements
- Linking test cases in Studio to Test Manager
- Unlink automation
- Delete test cases
- Document test cases with Task Capture
- Create test cases
- Importing manual test cases
- Generate tests for requirements
- Cloning test cases
- Exporting test cases
- Automate test cases
- Manual test cases
- Applying filters and views
- Test sets
- Executing tests
- Documents
- Reports
- Export data
- Bulk operations
- Searching with Autopilot
- Troubleshooting
Testing activities and APIs
Test Suite User Guide
Last updated Nov 20, 2024
Testing activities and APIs
Test data plays a critical role in testing. Due to data regulations such as GDPR, it is not possible to use production data during testing. UiPath® provides a set of activities and APIs, that allow you to create synthetic test data.
To create your test cases in Studio, you can use the activities available in the
Testing.Activities package. Also, to create your coded test cases in Studio,
you can use the APIs available in the
testing
service, downloaded with
the Testing.Activities package. Visit Testing APIs to read about how to use the
testing APIs.
This section includes all activities and APIs related to testing found in the Testing.Activities package.
Note: Verify activities and APIs do not support taking screenshots on
macOS and Linux operating systems.
Activity | API | Description |
---|---|---|
Add Test Data Queue Item | AddTestDataQueueItem | Adds a DataRow to a specified TestDataQueue. |
Address | Address | Generates a valid address. You can generate a random address, or select a city from the available list of countries and cities. |
Attach Document | AttachDocument | Attach documents to your test execution results to have proof of the outcome. You can view the attachment in Orchestrator by navigating to Testing > Test Executions > Test Run Details and then selecting View attachments on a specific test case. |
Bulk Add Test Data Queue Items | BulkAddTestDataQueueItems | Add a data table to a specified test data queue. |
Create Comparison Rule | The action of creating a comparison rule is built inside the VerifyDocumentsEquivalence and VerifyTextEquivalence APIs. | Create Comparison Rule allows you to create comparison rules designed to match and exclude specific parts of the text during document or text comparison. |
Delete Test Data Queue Items | DeleteTestDataQueueItems | Delete specified test data queue items. |
Get Test Data Queue Item | GetTestDataQueueItem | Extracts a DataRow from a specified TestDataQueue. |
Get Test Data Queue Items | GetTestDataQueueItems | Extracts data rows from a specified TestDataQueue. |
Given Name | GivenName | Selects a random value from a list of common given names. |
Last Name | LastName | Selects a random value from a list of common last names. |
Random Date | RandomDate | Generates a random date between two dates. You can define the date range in the following format: mm/dd/yyyy. |
Random Number | RandomNumber | Generates a random integer with a given length. |
Random String | RandomString | Generates a random string with a given length and case. |
Random Value | RandomValue | Picks a value from a 1-column list. |
Verify Control Attribute | NA | Verifies the output of a given activity by asserting it in relation to a given expression. |
Verify Documents Equivalence | VerifyDocumentsEquivalence | Verifies if two documents are equivalent, using multiple comparison options. |
Verify Expression | VerifyExpression | Verifies the truth value of a given expression. |
Verify Expression with Operator | VerifyExpressionWithOperator | Verifies an expression by asserting it in relation to a given expression with an operator. |
Verify Range | VerifyRange | Verifies if an expression is located or not within a given range. |
NA | VerifyAreEqual | Verifies if two expressions are equal. |
NA | VerifyAreNotEqual | Verifies if two expressions are not equal. |
NA | VerifyContains | Verifies if the first expression contains the second expression. |
NA | VerifyIsGreater | Verifies that the first expression is greater than the second expression. |
NA | VerifyIsGreaterOrEqual | Verifies that the first expression is greater than or equal to the second expression. |
NA | VerifyIsLess | Verifies that the first expression is less than the second expression. |
NA | VerifyIsLessOrEqual | Verifies that the first expression is less than or equal to the second expression. |
NA | VerifyIsRegexMatch | Verifies if the first expression is a regex match to the second expression. |
Verify Text Equivalence | VerifyTextEquivalence | Verifies if two texts are equal, using various comparison options. |