> 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="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2F9Rdp9ceUaCLUi4rIsuVP%2Funknown.png?alt=media&amp;token=f8687ad1-854b-4d0c-9ce4-6c24efc77993" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
