> For the complete documentation index, see [llms.txt](https://docs.avoautomation.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avoautomation.com/avo-assure/actions/web/common-web-operations/drop-file-on-the-object.md).

# 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>`

| Argument                         | Description                                                                      |
| -------------------------------- | -------------------------------------------------------------------------------- |
| <p>\<FilePath><br>(Required)</p> | Provide the file path or file location you want to upload from the local system. |
| <p>\<FileName><br>(Required)</p> | Provide the file name which you want to upload.                                  |

**Output Value**: `<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)`

| Argument                                                    | Description                                                       |
| ----------------------------------------------------------- | ----------------------------------------------------------------- |
| \<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.

<figure><img src="/files/8vaMlaYS247zugbA3Oz9" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.avoautomation.com/avo-assure/actions/web/common-web-operations/drop-file-on-the-object.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
