QALabs
← Back to demos
Upload Demo · UI Automation Practice

Practice file upload scenarios.

This demo page is designed for practicing file inputs, drag and drop uploads, file type validation, size validation, selected file summaries, simulated upload progress, success states, error states, and file removal.

Upload Practice

Select or drop a file.

Start by choosing a valid file. The page will validate file type and size before allowing the simulated upload.

Drop your file here

Or use the file picker below.

Allowed files: PDF, PNG, JPG, TXT, CSV. Max size: 2 MB.

No file selected.

Validation Rules

What this demo validates.

Valid file

A supported file under 2 MB becomes ready to upload.

Invalid type

Unsupported extensions show a validation error.

Large file

Files over 2 MB show a size validation error.

Scenarios

Suggested checks for automation practice.

Select valid file from file input

Validate selected file name

Validate selected file size

Validate selected file extension

Upload valid file successfully

Validate upload progress reaches 100%

Validate upload success message

Reject invalid file type

Reject file larger than 2 MB

Remove selected file

Validate empty state after removing file

Upload file using drag and drop