> ## 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.

# Upload Files

> Learn how to upload files for testing file upload features in your application.

## Overview

Spur Agent streamlines file uploads through an intelligent two-phase process, ensuring reliable and consistent file handling during test creation and execution. Upload files once during test configuration, then reference them during test execution for seamless file upload testing.

## Before You Begin

**Important requirements:**

* Maximum file size: 10MB per file
* Maximum 3 files per Test
* Files must be accessible during test creation
* Ensure stable internet connection for reliable uploads

<Tip>
  Use small, sample files during test creation to ensure faster uploads and smoother test execution.
</Tip>

## How to Upload Files

<Steps>
  <Step title="Navigate to Test Side Peek">
    During test creation in Test Side Peek, check **Include files for upload** and upload your files

    <Frame>
      <img src="https://mintcdn.com/spur/H3xqe3VyV7YeO-e5/images/Screenshot2026-02-05at1.43.18PM.png?fit=max&auto=format&n=H3xqe3VyV7YeO-e5&q=85&s=e60913baa30aa6370c82e3b743b8160b" alt="Screenshot 2026 02 05 At 1 43 18 PM" width="1148" height="1408" data-path="images/Screenshot2026-02-05at1.43.18PM.png" />
    </Frame>
  </Step>

  <Step title="Test Execution">
    Simply tell the agent to click the upload button, and Spur will handle the rest!

    The Spur Agent automatically locates and validates the file input element, retrieves your pre-uploaded test files, handles the file upload interaction, and verifies successful upload completion.
  </Step>
</Steps>

## Supported File Types

<Columns cols={2}>
  <Card title="Documents">
    **.pdf** - PDF documents

    **.txt** - Plain text files

    **.xlsx/.xls** - Excel spreadsheets

    **.doc/.docx** - Word documents
  </Card>

  <Card title="Media">
    **.mp4** - Video files

    **.jpg/.jpeg** - JPEG images

    **.png** - PNG images

    **.gif** - GIF animations
  </Card>
</Columns>

<Info>
  **Need support for additional file types?** Contact our support team with your requirements!
</Info>

## Troubleshooting

### Upload Fails

* Verify file size is under 10MB
* Check file type is supported
* Ensure stable internet connection
* Try refreshing the page and uploading again

### Files Aren't Recognized

* Confirm file extensions are correct
* Try uploading files individually
* Clear browser cache and retry
