test-suite
2024.10
true
UiPath logo, featuring letters U and I in white
Test Suite User Guide
Automation CloudAutomation Cloud Public SectorAutomation SuiteStandalone
Last updated Nov 11, 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.
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.
Create Comparison RuleThe 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 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 Documents EquivalenceVerifyDocumentsEquivalenceVerifies if two documents are equivalent, using multiple comparison options.
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.
NAVerifyAreEqualVerifies if two expressions are equal.
NAVerifyAreNotEqualVerifies if two expressions are not equal.
NAVerifyContainsVerifies if the first expression contains the second expression.
NAVerifyIsGreaterVerifies that the first expression is greater than the second expression.
NAVerifyIsGreaterOrEqualVerifies that the first expression is greater than or equal to the second expression.
NAVerifyIsLessVerifies that the first expression is less than the second expression.
NAVerifyIsLessOrEqualVerifies that the first expression is less than or equal to the second expression.
NAVerifyIsRegexMatchVerifies if the first expression is a regex match to the second expression.
Verify Text EquivalenceVerifyTextEquivalenceVerifies if two texts are equal, using various comparison options.

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.