File Upload/Download Actions Overview
When recording a test in the Architect, tests can download files from the site under test and upload files to site under test. However, during test execution, it can't access files on a Tester's computer. Therefore, for successful file upload actions, the file needs to be attached to the upload action or point to a previous file download action to be used with the file upload action.
File Download Action
Download Actions will capture the file being downloaded from site under test. This can be used as the source for a file Upload Action later in the test.
-
Before executing your test, the Download Action will not display the file as actively attached
-
Once you execute the test, the Download Action will have the file attached, which can be used in subsequent Actions
File Upload Action
Upload Actions will upload a file to the site under test. This can be use a file directly attached to the Upload Action or reference a file from a previous Download Action earlier in the test.
Note: We recommend attaching your file via the Actions Tab on the Test Detail page before executing your test. Otherwise, Functionize will fail the Upload Action, as seen here:
Here is how to attach a file to your Upload Action:
-
Open the Test Detail page to the Actions tab
-
Expand the Upload Action to view the Action Settings
-
Choose between uploading a file directly to the Upload Action, or to upload from a previous Download Action.
-
Direct File Attachment:
-
Click the paper clip
icon to open your file selector modal
-
Select the file from the modal and the file will upload and attach to your test Upload Action
-
Click the paper clip
-
Previous Action File Attachment:
-
Open the Upload from Step
drop-down menu
-
Select the corresponding previous Download Action
-
Open the Upload from Step
-
Direct File Attachment:
-
Once the file is attached, Save the Upload Action
- The test is ready to execute now