Skip to main content

RandomString

Generates a random string with a given length and case.

Definition

Namespace: UiPath.Testing.API

Assembly: UiPath.Testing.Activities.Api (in UiPath.Testing.Activities.Api.dll)

RandomString(Case,Int32)

string RandomString(
Case caseValue,
int length
)

caseValue Case : Specify the case style of the generated string. Supported styles: LowerCase, UpperCase, CamelCase, Mixed.

length Int32 : Specify the length of the string.

Return value

String

Generated random string.