> 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/sap/tree-control-operations/get-column-value-of-selected-tree-node.md).

# Get Column Value of Selected Tree Node

It is a pre-built action in Avo Assure which is available for the tree type of elements captured from the SAP application. It instructs Avo Assure Client to fetch the column value corresponding to the selected tree node and save the result in the output variable. It can be used to verify that the value specified in a specific column for the selected node matches expected results.

### **Syntax**

**Input:** `<Column number>`

{% hint style="info" %}
***Note:** The user gives column number of tree node.*
{% endhint %}

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

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2Fhij9DcnDWRhmwqCjrryt%2Fimage.png?alt=media&amp;token=62566c59-af88-43fc-a301-f243db393e12" alt=""><figcaption></figcaption></figure>

### **Usecase/Example**

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FS6qu8WjzR6fgbQXFKz4h%2Fimage.png?alt=media&amp;token=47cd4252-1c30-48c2-9cc8-d59080c5e777" alt=""><figcaption></figcaption></figure>

### **Scenario**

Consider a scenario where user is testing SAP GUI Application and needs to retrieve specific column from selected tree. For this scenario "Get Column Value of Selected Tree Node" action used by Avo Assure. It helps to retrieve the value of a specific column from a selected node in SAP. Tree control element in GUI tree structure. It ensures that the correct column value is retrieved from tree structure.

### **Expected Result**

The Get column Value of Selected Tree Node action needs to fetch column value to selected tree node and saves result in {Result} output variable.

### **Output**

The action performed on nodes in tree structure and saves result in {Result} output variable.


---

# 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/sap/tree-control-operations/get-column-value-of-selected-tree-node.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.
