Upload File to Application

This is a pre-built action in Avo Assure and comes for the Captured Image Element, instructs the Avo Assure to upload a file present in a specific path from the local system to the application and save the result in dynamic variable.

Syntax

Input Value: <File path>;<File name>;<Wait (in seconds)>

Argument
Description

<File path> (Required)

The complete path or location of the file from the local system

<File name> (Required)

The name of the specific file the user wants to upload

<Wait (in seconds)> (Optional)

Delay before the action is performed, specified in seconds

Output Value

Argument
Description

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

This dynamic variable holds the status as True or False

Example

Performs file upload operation in the target application window

The Upload File to Application action takes the value from the Input Value column (e.g., C:\Documents;report.pdf;5) and uploads the specified file to the application within the defined wait time. The result of the upload operation is stored in the {Uploaded} variable, with the following possible values:

  • True – if the file is uploaded successfully.

  • False – if the file upload fails or an error occurs.

Last updated

Was this helpful?