# Generate Random Value

> `UiPath.Testing.Activities.Test.Data.GenerateRandomValue`

`UiPath.Testing.Activities.Test.Data.GenerateRandomValue`

## Description

Picks a value from a 1-column list. You can specify the source from a CSV file. If you are using an XLSX file, you can use Excel to convert it to CSV.

## Project compatibility

**Windows - Legacy | Windows | Cross-platform**

## Windows - legacy configuration

### Designer panel

* **From** - Specifies the CSV file from which to retrieve a random value.

### Properties panel

#### Common
* **DisplayName** - The display name of the activity.

#### Input
* **File** - Specifies the CSV file from which to retrieve a random value.

#### Misc
* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

#### Output
* **Random Value** - String. Charset: Unicode.

## Windows, Cross-platform configuration

* **File** - Specifies the CSV file from which to retrieve a random value.
* **Random Value** - String. Charset: Unicode.
