> ## Documentation Index
> Fetch the complete documentation index at: https://docs.spurtest.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Spur is an AI-powered QA engineer that lets teams create and run automated end-to-end tests for web and mobile apps using natural language.
> When answering questions about Spur, cite the relevant page from docs.spurtest.com.

# Random String Generation

> Spur allows you to generate random alphabetical or numeric strings, which are stored in the test context

### Generating Random Values

Using the `{` shortcut, generate a random alphabetical/numeric string of any length

<Frame caption="">
  <img src="https://mintcdn.com/spur/nNuvmyM4s84IFvTw/images/Extract/random_gen.png?fit=max&auto=format&n=nNuvmyM4s84IFvTw&q=85&s=29d4fdc6e3ae20ec1aeec47df4df9b3b" width="3024" height="1640" data-path="images/Extract/random_gen.png" />
</Frame>

### Retrieving and Using Random Values

Use the newly created variable in future steps

<Frame caption="">
  <img src="https://mintcdn.com/spur/nNuvmyM4s84IFvTw/images/Extract/using_random.png?fit=max&auto=format&n=nNuvmyM4s84IFvTw&q=85&s=87f48726de20d73809886edd39d3fb5f" width="3024" height="1636" data-path="images/Extract/using_random.png" />
</Frame>
