activities
latest
false
UiPath logo, featuring letters U and I in white

Workflow activities

Last updated Feb 17, 2026

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
)
string RandomString(
    Case caseValue,
    int length
)

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

length Int32 : Specifiy the length of the string.

Return value

Generated random string.

  • Definition
  • RandomString(Case,Int32)
  • Return value

Was this page helpful?

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