Comprehensive file upload testing support in Stably for document submissions, image uploads, and various file types with seamless automation.
This documentation is for Stably Classic. For the new Stably Web Editor, see Stably Web Editor.
Stably provides comprehensive support for file uploads in your automated tests, allowing you to simulate real user file upload interactions effectively.Whether you’re testing document submissions, image uploads, or handling various file types, our platform ensures seamless integration of file upload testing into your test automation workflow.
If you encounter problems when selecting files to upload in your tests and your app uses react-dropzone library, please upgrade your library to version 14.2.9 or later. This version includes important fixes that resolve known file selection issues.
Add file upload to your tests
File uploads are only supported in non-AI mode. We are working on adding support for AI mode.
During test recording, when you interact with an element that initiates a file upload, a modal will automatically appear.
This modal provides two options:
Ensure your files meet the size limit before uploading.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Stably","colors":{"primary":"#0066cc","light":"#3399ff","dark":"#004d99"},"logo":{"light":"https://mintcdn.com/stablyai/HGhEi1a2gNHuIFZi/logo/light.svg?fit=max\u0026auto=format\u0026n=HGhEi1a2gNHuIFZi\u0026q=85\u0026s=4449322f578b7c41cb15e23b398757fd","dark":"https://mintcdn.com/stablyai/HGhEi1a2gNHuIFZi/logo/dark.svg?fit=max\u0026auto=format\u0026n=HGhEi1a2gNHuIFZi\u0026q=85\u0026s=bff755e60e3feac9a76d40bae799f3a4","href":"https://stably.ai"},"favicon":"https://mintcdn.com/stablyai/i-3R7StXQiwq74f4/favicon.svg?fit=max\u0026auto=format\u0026n=i-3R7StXQiwq74f4\u0026q=85\u0026s=22bacb181d3d08f311f19036b62cf3e2","navbar":{"links":[{"href":"mailto:jinjing@stably.ai","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.stably.ai"}},"footer":{"socials":{"x":"https://twitter.com/stablyai","github":"https://github.com/stablyai","linkedin":"https://www.linkedin.com/company/stablyai"}},"seo":{"metatags":{"og:title":"Stably - AI-native Testing Platform","og:description":"Comprehensive documentation for Stably, the AI-native testing framework that tests any application and prevents bugs with intelligent test automation.","og:type":"website","og:site_name":"Stably Documentation","twitter:site":"@stablyai","twitter:site:domain":"stably.ai","x:site":"@stablyai","x:site:domain":"stably.ai","apple-mobile-web-app-title":"Stably Docs"},"indexing":"navigable"},"contextual":{"options":["copy","chatgpt","claude","perplexity"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"stablyai","hasAudioNarration":false,"actualSubdomain":"stablyai","customDomains":["docs.stably.ai"],"gitSource":{"type":"github","owner":"stablyai","repo":"mintlify-docs","deployBranch":"master","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ae91f6ecfea1bf9753296f4:success","clientVersion":"0.0.4167","searchFilterCounts":[{"language":"default","tag":"Documentation","count":57},{"language":"default","tag":"Guides","count":22},{"language":"default","tag":"Stably SDK","count":14},{"language":"default","tag":"Stably CLI","count":9},{"language":"default","tag":"Troubleshooting","count":8},{"language":"default","tag":"Stably Web Editor","count":7},{"language":"default","tag":"API Reference","count":5},{"language":"default","tag":"Anti-Bot Detection","count":5},{"language":"default","tag":"Resources","count":4},{"language":"default","tag":"Configuration","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"platform-capabilities/file-upload","slug":"/platform-capabilities/file-upload","pageMetadata":{"title":"File Uploads","description":"Comprehensive file upload testing support in Stably for document submissions, image uploads, and various file types with seamless automation.","og:title":"File Upload Testing - Automated File Handling | Stably AI","og:description":"Comprehensive file upload testing support in Stably for document submissions, image uploads, and various file types with seamless automation.","og:image":"/images/social-preview.png","href":"/platform-capabilities/file-upload"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Comprehensive file upload testing support in Stably for document submissions, image uploads, and various file types with seamless automation.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Frame,Heading,Info,Note,OptimizedImage,Warning}=_components;if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Note,{children:_jsxs(_components.p,{children:[`This documentation is for `,_jsx(_components.strong,{children:`Stably Classic`}),`. For the new Stably Web Editor, see `,_jsx(_components.a,{href:`/stably/stably-web-editor`,children:`Stably Web Editor`}),`.`]})}),`\n`,_jsx(_components.p,{children:`Stably provides comprehensive support for file uploads in your automated tests, allowing you to simulate real user file upload interactions effectively.`}),`\n`,_jsx(_components.p,{children:`Whether you’re testing document submissions, image uploads, or handling various file types, our platform ensures seamless integration of file upload testing into your test automation workflow.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`If you encounter problems when selecting files to upload in your tests and your app uses react-dropzone library, please upgrade your library to version 14.2.9 or later. This version includes important fixes that resolve known file selection issues.`})}),`\n`,_jsx(Heading,{level:`2`,id:`add-file-upload-to-your-tests`,children:`Add file upload to your tests`}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`File uploads are only supported in non-AI mode. We are working on adding support for AI mode.`})}),`\n`,_jsx(_components.p,{children:`During test recording, when you interact with an element that initiates a file upload, a modal will automatically appear.\nThis modal provides two options:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Upload new files directly from your system`}),`\n`,_jsx(_components.li,{children:`Select files from previously uploaded test files`}),`\n`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/stablyai/kbD1mPIS9Ksvjr53/images/no-code-editor/upload-modal.png?fit=max\u0026auto=format\u0026n=kbD1mPIS9Ksvjr53\u0026q=85\u0026s=4933388f40bf61b03b74482db44fb407`,alt:``,\"data-og-width\":`618`,width:`618`,\"data-og-height\":`260`,height:`260`,\"data-path\":`images/no-code-editor/upload-modal.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/stablyai/kbD1mPIS9Ksvjr53/images/no-code-editor/upload-modal.png?w=280\u0026fit=max\u0026auto=format\u0026n=kbD1mPIS9Ksvjr53\u0026q=85\u0026s=b33e5a99bab9810a62b3f531c2f7204e 280w, https://mintcdn.com/stablyai/kbD1mPIS9Ksvjr53/images/no-code-editor/upload-modal.png?w=560\u0026fit=max\u0026auto=format\u0026n=kbD1mPIS9Ksvjr53\u0026q=85\u0026s=4bff7b11c1040b4f90b84c45843ec3eb 560w, https://mintcdn.com/stablyai/kbD1mPIS9Ksvjr53/images/no-code-editor/upload-modal.png?w=840\u0026fit=max\u0026auto=format\u0026n=kbD1mPIS9Ksvjr53\u0026q=85\u0026s=f5cd8860f1f6356ed74a40814786f56e 840w, https://mintcdn.com/stablyai/kbD1mPIS9Ksvjr53/images/no-code-editor/upload-modal.png?w=1100\u0026fit=max\u0026auto=format\u0026n=kbD1mPIS9Ksvjr53\u0026q=85\u0026s=a107e5eee7046f4c4e5b5d1f73814a0b 1100w, https://mintcdn.com/stablyai/kbD1mPIS9Ksvjr53/images/no-code-editor/upload-modal.png?w=1650\u0026fit=max\u0026auto=format\u0026n=kbD1mPIS9Ksvjr53\u0026q=85\u0026s=7db4f7bfe0153a5b56d8bd268ea74acd 1650w, https://mintcdn.com/stablyai/kbD1mPIS9Ksvjr53/images/no-code-editor/upload-modal.png?w=2500\u0026fit=max\u0026auto=format\u0026n=kbD1mPIS9Ksvjr53\u0026q=85\u0026s=46488ae2ae92c8c3088b39abeebf4fb0 2500w`})}),`\n`,_jsxs(_components.p,{children:[`Navigate to the `,_jsx(_components.a,{href:`/core-configuration/test-data#test-files`,children:`Test Data → Test Files`}),` section to view and manage your uploaded files.`]}),`\n`,_jsx(Heading,{level:`2`,id:`specifications`,children:`Specifications`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Size Limit:`}),` 100 MB per file`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Supported File Types:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`PDF documents`}),`\n`,_jsx(_components.li,{children:`CSV spreadsheets`}),`\n`,_jsx(_components.li,{children:`Image files (PNG, JPEG, JPG)`}),`\n`,_jsx(_components.li,{children:`MOV video files`}),`\n`,_jsx(_components.li,{children:`Other`}),`\n`]}),`\n`,_jsx(Info,{children:_jsx(_components.p,{children:`Ensure your files meet the size limit before uploading.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"File Uploads","description":"Comprehensive file upload testing support in Stably for document submissions, image uploads, and various file types with seamless automation.","og:title":"File Upload Testing - Automated File Handling | Stably AI","og:description":"Comprehensive file upload testing support in Stably for document submissions, image uploads, and various file types with seamless automation.","og:image":"/images/social-preview.png","href":"/platform-capabilities/file-upload"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Add file upload to your tests","slug":"add-file-upload-to-your-tests","depth":2,"children":[]},{"title":"Specifications","slug":"specifications","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"stablyai","siteName":"Stably","title":"File Upload Testing - Automated File Handling | Stably AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-23T02:37:01.359Z","originalFileLocation":"platform-capabilities/file-upload.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Comprehensive file upload testing support in Stably for document submissions, image uploads, and various file types with seamless automation.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Stably\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/stablyai/6Y6TRJsMUUpTybR_/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/stablyai/6Y6TRJsMUUpTybR_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/stablyai/6Y6TRJsMUUpTybR_/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/stablyai/6Y6TRJsMUUpTybR_/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/stablyai/6Y6TRJsMUUpTybR_/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/stablyai/6Y6TRJsMUUpTybR_/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/stablyai/6Y6TRJsMUUpTybR_/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/stablyai/6Y6TRJsMUUpTybR_/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/stablyai/6Y6TRJsMUUpTybR_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"File Upload Testing - Automated File Handling | Stably AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Comprehensive file upload testing support in Stably for document submissions, image uploads, and various file types with seamless automation.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Stably Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.stably.ai/platform-capabilities/file-upload\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://stablyai.mintlify.site/images/social-preview.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"File Upload Testing - Automated File Handling | Stably AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Comprehensive file upload testing support in Stably for document submissions, image uploads, and various file types with seamless automation.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://stablyai.mintlify.site/images/social-preview.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/stablyai/6Y6TRJsMUUpTybR_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Stably Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0066cc\">\u003cmeta data-mint-head name=\"twitter:site:domain\" content=\"stably.ai\">\u003cmeta data-mint-head name=\"x:site\" content=\"@stablyai\">\u003cmeta data-mint-head name=\"x:site:domain\" content=\"stably.ai\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.stably.ai/platform-capabilities/file-upload\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/platform-capabilities/file-upload.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Stably\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Stably\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/platform-capabilities/file-upload.md","siteName":"Stably","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","groups":[{"group":"Getting started","icon":"rocket","pages":[{"title":"Quickstart","href":"/getting-started/quickstart"},{"title":"What is Stably?","href":"/what-is-stably-ai"},{"title":"Autofix for Tests","href":"/getting-started/autofix-for-tests"},{"title":"CI Integration","href":"/getting-started/ci-integration"}]},{"group":"Stably Web Editor","icon":"browser","pages":[{"title":"Overview","href":"/stably/stably-web-editor"},{"title":"Quickstart: Stably Web","href":"/stably2/web-quickstart"},{"title":"Stably GitHub Action","href":"/stably/stably-github-action"},{"group":"Bring Your Own Repo","pages":[{"title":"Bring Your Own Repo","href":"/stably2/bring-your-own-repo"},{"title":"Setup Script","href":"/stably2/setup-script"},{"title":"Private npm Registry (.npmrc)","href":"/stably2/npmrc"}]},{"title":"Capabilities","href":"/stably/capabilities"}]},{"group":"Stably CLI","icon":"terminal","pages":[{"title":"Quickstart: Stably CLI","href":"/stably-cli/quickstart"},{"title":"CLI commands","href":"/stably-cli/commands"},{"title":"Cloud Browsers for Stably CLI","href":"/stably-cli/cloud-browser"},{"title":"Test Planning (stably plan)","href":"/stably-cli/plan"},{"title":"Create Tests (stably create)","href":"/stably-cli/create"},{"title":"Run Tests (stably run)","href":"/stably-cli/run-tests"},{"title":"Fix Tests (stably fix)","href":"/stably-cli/fix"},{"title":"Run History (stably runs)","href":"/stably-cli/runs"},{"title":"Using CLI in CI","href":"/run-tests/cli-in-ci"}]},{"group":"Stably Cloud Runner","icon":"cloud","pages":[{"title":"Run Tests","href":"/run-tests/run-tests-on-cloud"},{"title":"Scheduled Test Runs","href":"/run-tests/scheduled-runs"},{"title":"Autofix","href":"/run-tests/autofix"}]},{"group":"Stably SDK","icon":"code","pages":[{"title":"Quickstart: Stably SDK","href":"/getting-started/sdk-setup-guide"},{"title":"Stably SDK Overview","href":"/stably-sdk/overview"},{"title":"Playwright AI Tests","href":"/getting-started/stably-playwright-sdk"},{"group":"Auth","pages":[{"title":"Auth with Google","href":"/stably2/auth/auth-with-google"}]},{"group":"AI Methods","pages":[{"title":"AI Agent Execute","href":"/stably-sdk/ai-agent-execute"},{"title":"AI Assertions","href":"/stably-sdk/ai-assertions"},{"title":"AI Locator","href":"/stably-sdk/ai-locator"},{"title":"AI Extraction","href":"/stably-sdk/ai-extraction"}]},{"title":"Email Inbox","href":"/stably-sdk/email-inbox"},{"title":"Create Tests with Cursor / Claude Code","href":"/stably-sdk/create-tests-with-cursor-claude"},{"group":"CI/CD","pages":[{"title":"GitHub Actions","href":"/run-tests/github-actions"},{"title":"Run Tests on GitHub","href":"/run-tests/run-tests-on-github"},{"title":"Run Tests on GitLab","href":"/run-tests/run-tests-on-gitlab"},{"title":"Run Tests Inside of Docker","href":"/run-tests/inside-of-docker"}]}]},{"group":"Stably Test Reporter","icon":"chart-line","pages":[{"title":"Stably Test Reporter","href":"/stably/stably-test-reporter"},{"title":"Alerts \u0026 Notifications","href":"/run-tests/alerting"}]},{"group":"Configuration","icon":"gear","pages":[{"title":"Environments","href":"/stably2/environments"},{"title":"STABLY.md","href":"/core-configuration/stably-md"},{"title":"Mode-Specific Rules","href":"/core-configuration/mode-rules"},{"title":"Autofix Cost Controls","href":"/core-configuration/autofix-cost-controls"}]},{"group":"Troubleshooting","icon":"wrench","pages":[{"title":"Reporter \u0026 Analytics Troubleshooting","href":"/trouble-shooting/reporter-analytics"},{"title":"Stably IP Allowlist","href":"/trouble-shooting/allowlist-stably"},{"title":"A/B Testing","href":"/trouble-shooting/a-b-testing"},{"group":"Anti-Bot Detection","pages":[{"title":"Bot Detection Issues","href":"/trouble-shooting/bot-detection/index"},{"title":"Cloudflare Bot Detection","href":"/trouble-shooting/bot-detection/cloudflare"},{"title":"Clerk Bot Detection","href":"/trouble-shooting/bot-detection/clerk"},{"title":"reCAPTCHA Bypass","href":"/trouble-shooting/bot-detection/recaptcha"},{"title":"Vercel Deployment Protection","href":"/trouble-shooting/bot-detection/vercel"}]}]},{"group":"Migration Guides","icon":"route","pages":[{"title":"Why Migrate from Classic","href":"/no-code-tests/why-migrate"},{"title":"Migrate Classic Tests to Agent 2.0","href":"/no-code-tests/migrate-to-agent-2"}]},{"group":"Resources","pages":[{"title":"Pricing","href":"/pricing"},{"title":"Changelog","href":"/changelog"},{"title":"Privacy Policy","href":"/about/privacy-policy"},{"title":"Terms of Service","href":"/about/terms-of-service"}]}]},{"anchor":"API Reference","icon":"code","groups":[{"group":"API Reference","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"Test Run","icon":"sparkle","pages":[{"title":"Start a test run","deprecated":null,"version":null,"openapi":"https://api.stably.ai/openapi.json post /v1/projects/{projectId}/runs","href":"/api-reference/runner/start-a-test-run"},{"title":"Get test run status and results","deprecated":null,"version":null,"openapi":"https://api.stably.ai/openapi.json get /v1/projects/{projectId}/runs/{runId}","href":"/api-reference/runner/get-test-run-status-and-results"},{"title":"Cancel a test run","deprecated":null,"version":null,"openapi":"https://api.stably.ai/openapi.json post /v1/projects/{projectId}/runs/cancel","href":"/api-reference/runner/cancel-a-test-run"}]}]},{"anchor":"Guides","icon":"book-bookmark","groups":[{"group":"Guides","pages":[{"title":"Verify Your App with stably verify","sidebarTitle":"Verify with AI Agents","href":"/use-cases/verify-with-ai-agents"},{"title":"Test with localhost","href":"/use-cases/testing-with-localhost"},{"title":"Defining Test Groups","href":"/use-cases/defining-test-groups"},{"title":"Data Isolation Strategy","sidebarTitle":"Data Isolation Strategy","href":"/use-cases/data-isolation-strategy"},{"title":"Testing Google Auth and 2FA","sidebarTitle":"Google Auth + 2FA","href":"/use-cases/testing-google-auth-and-2fa"},{"title":"Testing RBAC and Role Permissions","sidebarTitle":"RBAC + Roles","href":"/use-cases/testing-rbac-and-role-permissions"},{"title":"Testing File Upload and Download Workflows","sidebarTitle":"File Upload/Download","href":"/use-cases/testing-file-upload-and-download-workflows"},{"title":"Testing Feature Flags and Gradual Rollouts","sidebarTitle":"Feature Flags","href":"/use-cases/testing-feature-flags-and-gradual-rollouts"},{"title":"Testing Third-Party API Failures and Timeouts","sidebarTitle":"3rd-Party Failures","href":"/use-cases/testing-third-party-api-failures-and-timeouts"},{"title":"Saving Authenticated State","href":"/use-cases/saving-authenticated-state"},{"title":"Integrate with Test Case Management Systems","sidebarTitle":"TCMS Integration (Zephyr, etc.)","href":"/use-cases/integrate-with-test-case-management-systems"}]}]}]},"basePath":"","title":"File Upload Testing - Automated File Handling | Stably AI","buildId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","deploymentId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-1H5zLJUq.js","DynamicMarkdown-RhjEuCHC.js","zoom-image-lightbox-CkI5al_8.js","lightbox-handle-r17bVUz3.js"]}