Drop File On the object
This is a pre-built Action located under the captured element. The functionality of this action in Avo Assure is to drop a file to the specified captured element using the file path provided in the input value. The result is stored in the given dynamic variable for further use during test execution.
Syntax
Input Value: <FilePath>;<FileName>
<FilePath> (Required)
Provide the file path or file location you want to upload from the local system.
<FileName> (Required)
Provide the file name which you want to upload.
Output Value: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
Both dynamic variable stores the status as True or False.
Example: Dropping a File on a Captured Object
In this example,we are explaining how to drop a file from a specified local path onto a captured object within the application.
Action: Drop File On the Object
Input Value: C:\sam;Datatable.jpg
The first argument (C:\sam) specifies the local file path.
The second argument (Datatable.jpg) specifies the file name to be dropped on the target object.
Output Value: {Status}
The result of the file drop operation is stored in the {Status} dynamic variable, with the following possible values:
True: If the file is dropped successfully on the specified object.
False: If the file is not dropped successfully on the specified object.
Logical Explanation: The Drop File On the Object action reads the details from the Input Value column (C:\sam;Datatable.jpg). It retrieves the file from the specified local path and attempts to drop it onto the captured object within the application. The outcome of this operation (True) is stored in the {Status} dynamic variable.

Last updated
Was this helpful?