Upload FIle
Last updated
Was this helpful?
Last updated
Was this helpful?
This is a pre-built Action located under the Captured Button Element, instructs the Avo Assure to upload the specified file and save the result in the dynamic variable.
Input Value: <FilePath>;<FileName>;<Wait (in seconds)>
<FilePath>
The path of the file from where it should take.
<FileName>
Specify the file name to be uploaded.
<Wait (in seconds)>
Provide the time to wait before uploading the file.
Output Value:
<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
The dynamic variable holds the status as True or False.
Note: When uploading a file to the application, specify the waiting period in seconds, the upload will start once the waiting period is over.
Example
Performs file upload operation at the specified location with the given file name and wait time.
The Upload File action takes the value from the Input Value column (e.g., C:\Users\Documents;Sample.pdf;2) and uploads the specified file after the defined wait duration. The result of the upload operation is stored in the {UploadFile} variable, with the following possible values:
True – If the file is uploaded successfully.
False – If the upload fails or an error occurs.