Test Suite
2023.10
false
Banner background image
Test Suite User Guide
Last updated Feb 28, 2024

Testing Activities & APIs

Test data plays a critical role in testing. Due to data regulations such as GDPR, it is not possible to use production data using 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.

ActivityAPIDescription
Add Test Data Queue ItemAddTestDataQueueItemAdds a DataRow to a specified TestDataQueue.
AddressAddressGenerates a valid address. You can generate a random address, or select a city from the available list of countries and cities.
Attach DocumentAttachDocumentAttach 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 ItemsBulkAddTestDataQueueItemsAdd a data table to a specified test data queue.
Delete Test Data Queue ItemsDeleteTestDataQueueItemsDelete specified test data queue items.
Get Test Data Queue ItemGetTestDataQueueItemExtracts a DataRow from a specified TestDataQueue.
Get Test Data Queue ItemsGetTestDataQueueItemsExtracts data rows from a specified TestDataQueue.
Given NameGivenNameSelects a random value from a list of common given names.
Last NameLastNameSelects a random value from a list of common last names.
Random DateRandomDateGenerates a random date between two dates. You can define the date range in the following format: mm/dd/yyyy.
Random NumberRandomNumberGenerates a random integer with a given length.
Random StringRandomStringGenerates a random string with a given length and case.
Random ValueRandomValuePicks a value from a 1-column list.
Verify Control AttributeNAVerifies the output of a given activity by asserting it in relation to a given expression.
Verify ExpressionVerifyExpressionVerifies the truth value of a given expression.
Verify Expression with OperatorVerifyExpressionWithOperatorVerifies an expression by asserting it in relation to a given expression with an operator.
Verify RangeVerifyRangeVerifies if an expression is located or not within a given range.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.