# Address

> Generates a valid address, based on the random country and city that you provide. The resulted address is a dictionary.

Generates a valid address, based on the random country and city that you provide. The resulted address is a dictionary.

## Definition

**Namespace:** UiPath.Testing.API

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

## `Address(Dictionary<String,String>)`

```
Dictionary<string, string> Address(
    string country,
    string city
)
```

`country` [String](https://learn.microsoft.com/dotnet/api/system.string) : Enter a random country.

`city` [String](https://learn.microsoft.com/dotnet/api/system.string) : Enter a random city located in the country that you inputted earlier

## Return value

[Dictionary](https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2)&lt;[String](https://learn.microsoft.com/dotnet/api/system.string), [String](https://learn.microsoft.com/dotnet/api/system.string)&gt;

An address that has the following fields generated: Country, PostalCode, StreetNumber, StreetName, City, State. Charset: Unicode.
