Activities
This section includes testing related activities found in the Testing.Activities package.
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, that allow you to create synthetic test data.
This section includes verification and testing related activities found in the Testing.Activities package. Through these activities, you can create synthetic test data. The table below shows the activities available in the package.
Although Verify activities support taking screenshots on macOS and Linux, this capability is available only when testing Chrome web applications. Furthermore, a UIAutomation.Activities version higher than 24.10.6 must be installed in your project for using this functionality.
| Activity | Description |
|---|---|
| Add Test Data Queue Item | Adds a DataRow to a specified TestDataQueue. |
| Address | Generates a random valid address. |
| Attach Document | Attach documents to your test execution results to have proof of the outcome. |
| Bulk Add Test Data Queue Items | Add a data table to a specified test data queue. |
| Delete Test Data Queue Items | Delete specified test data queue items. |
| Get Test Data Queue Item | Extracts a DataRow from a specified TestDataQueue. |
| Get Test Data Queue Items | Extracts data rows from a specified TestDataQueue. |
| Given Name | Selects a random value from a list of common given names. |
| Last Name | Selects a random value from a list of common last names. |
| Random Date | Generates a random date between two dates |
| Random Number | Generates a random integer with a given length. |
| Random String | Generates a random string with a given length and case. |
| Random Value | Picks a value from a 1-column list. |
| Verify Control Attribute | Verifies the output of a given activity by asserting it in relation to a given expression. |
| Compare PDF Documents | Verifies if two documents are equivalent using multiple comparison options. |
| Verify Expression | Verifies the truth value of a given expression. |
| Verify Expression With Operator | Verifies an expression by asserting it in relation to a given expression with an operator. |
| Verify Range | Verifies if an expression is located or not within a given range. |
| Compare Text | Verifies if two texts are equivalent using multiple comparison options. |