# Generate Last Name

> `UiPath.Testing.Activities.TestData.GenerateLastName`

`UiPath.Testing.Activities.TestData.GenerateLastName`

## Description

Selects a random value from a list of common last names. The list is included as part of the activity.

## Project compatibility

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

## Windows - Legacy configuration

#### **Properties panel**

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

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

**Output**
* **LastName** - (String, String) with the following field:`LastName`, Charset: Unicode.

## Windows, cross-platform configuration

* **LastName** - (String, String) with the following field:`LastName`, Charset: Unicode.
