Upload File

This is a pre-built action in Avo Assure and is available for the Captured Element, instructs the Avo Assure to upload a file from the specified system location using the input value provided and save the result in the dynamic variable.

Syntax

Input Value: <FilePath>;<FileName>;<Wait (Seconds)>

Argument
Description

<File path> (Required)

Provide the path or location of specific file from the Local system.

<File name> (Required)

Specify the name of a particular file which needs to be upload.

<Wait (in seconds)> (Required)

Provide a wait time (in seconds) to perform the action after the specified delay.

Output Value:

Argument
Description

<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)

This dynamic variable holds the status of the action as True or False.

Example

Uploads a file to the application from the specified path with the given file name after the defined wait time.

The Upload File action takes the value from the Input Value column (e.g., C:\Users\Downloads;Sample;2) and uploads the specified file after waiting for the mentioned 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.

Last updated

Was this helpful?