# RandomValue

> Picks a random line in range of 0 - 2 billions from a 1-column list. You can specify the source from a CSV file, or TXT file.

Picks a random line in range of 0 - 2 billions from a 1-column list. You can specify the source from a CSV file, or TXT file.

## Definition

**Namespace:** UiPath.Testing.API

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

## `RandomValue(String)`

```
string RandomValue(
    string filePath
)
```

`filePath` [String](https://learn.microsoft.com/dotnet/api/system.string) : Specifies the CSV, or TXT file from which to retrieve a random value.

## Return value

[String](https://learn.microsoft.com/dotnet/api/system.string)

Generated random string.
