Upload a File

This is a pre-built action in Avo Assure that comes with the Captured Link Element, instructs the Avo Assure to upload a file from a specified location on the local system to the designated captured link element in the application and save the result in the dynamic variable.

Syntax

Input Value: <File path>;<File name>;<Wait (in 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 the needs to 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 target location in the application using the specified file path and name.

The Upload a File action takes the value from the Input Value column (e.g., C:\Users\Documents;TC02.pdf;2) and uploads the defined file after waiting for the specified number of seconds. 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?