Upload Files
Upload files as part of a test case
If you are setting up a test case, and the user needs to upload a file, then you should use our 'Upload File' step type.
When a real user needs to upload a file it is usually performed in two steps - first the user clicks an 'upload file' button/link, then their native file picker pop-up comes into view and they choose the file. For our automated tests, this is reversed. When you come to a point in your test case where you want the user to upload a file you should not click the 'upload file' button/link. Instead:
Following the steps above allows you to replicate the file upload functionality of your app within the automated test.
The video at the top of this guide provides more explanation on the above and an example. We strongly recommend that you watch this video before using this feature.