Upload File

This ‘Upload file’ is prebuilt Action located under the captured Element. It instructs the Avo Assure client to upload files from the specific location of the system with the help of input value.

Syntax

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

  • Provide the file path, file name, and wait time (in seconds), each separated by a semicolon.

Note: If the ‘wait (in seconds)’ input is specified, then the action will be performed after the duration of the specified wait time.

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

Use case/Example

Scenario

Consider a scenario where you are testing the ‘Upload File’ functionality by filling in patient details related to their health. Using the "Upload File" action, the user uploads the patient's health certificates and other relevant documents. During the debugging process, it will file fetch from the specified input location and upload that file in the application.

Input

The user provided input as file path, file name, and wait time (in seconds): New file; 3Avo.pdf\Downloads\Users\:C

Expected Result

This action needs to upload the file from specific location of the system and store the result as true in the output variable.

Output

The file has been successfully uploaded from the specified location, and the result is stored in the {Status} variable as true.

Last updated

Was this helpful?