Ghost Inspector supports uploading files via
<input type="file"> elements during your tests. Below is a brief video tutorial that outlines how this feature can be used.
If you record a test that uploads a file, you will see a notice on your test that looks like this:
Due to the security restrictions placed on browser extensions, our test recorder cannot capture the actual file that you upload. However, we can detect the upload and give you the option to specify the file within the Ghost Inspector application. To do so, simply edit your test steps and find the step that uploads the file. Your step now includes an “Upload File…” button that allows you to include your file with the test.
After uploading your file, the test step will display the details of your file and upload it properly when executing your test.
A few things worth noting when uploading files within your tests:
<input type="file">element. If you specify a URL, Ghost Inspector will automatically download the specified URL and upload it into the file input on the fly.