> 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/desktop/window/launch-application.md).

# Launch Application

This is a pre-built action located under the **@Window Element**. The functionality of this action in Avo Assure is to launch the application specified in the Input Value (application path).

### **Syntax**

**Input Value**: `<Application Path>`

| Argument                                 | Description                                                                     |
| ---------------------------------------- | ------------------------------------------------------------------------------- |
| <p>\<Application Path><br>(Required)</p> | Specify the path of the executable file for the application you want to launch. |

{% hint style="info" %}
**Note:**\
When automating Desktop applications, this is the **first step** that needs to be added to the test flow.
{% endhint %}

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

| Argument                                                    | Description                                                 |
| ----------------------------------------------------------- | ----------------------------------------------------------- |
| \<Dynamic Variable>(Optional);\<Dynamic Variable>(Optional) | This dynamic variable holds result as **True** or **False** |

{% hint style="info" %}
**Note**: Enter the complete path to a desktop `.exe` file or a valid web URL. Batch files and scripts are not supported; use Execute File instead. For shortcuts and installers, use the path of the installed application's `.exe` file.
{% endhint %}

#### Example: Launching a Desktop Application

In this example, we explain how to launch a desktop application using its executable file path.

* Action: Launch application
* **Input Value**: C:\Users\AvobankRelease 3\Release\AvoBankDesktop.exe
  * The argument (C:\Users\AvobankRelease 3\Release\AvoBankDesktop.exe) specifies the complete path of the desktop application's executable file.
* **Output Value**: {Status}
  * Stores the execution status in the dynamic variable:
    * True: If the application launches successfully.
    * False: If the application fails to launch.
* **Logical Explanation**: The **Launch application** action fetches the application path from the **Input Value** column and launches the AvoBank desktop application from the specified location.

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FrjYSnfZd38gWfccLAECl%2Fimage.png?alt=media&amp;token=e93e93be-3dd8-4cb9-8421-9bfa591d414d" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Note**: After launching the application, you must add the [**Select Window**](https://docs.avoautomation.com/avo-assure/actions/desktop/window/select-window.md) action as the next step to identify and select the application window for further automation.
{% endhint %}


---

# 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/desktop/window/launch-application.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.
