# 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="/files/BfCLjHqmvaiQUKJL1a40" alt=""><figcaption></figcaption></figure>

### **Usecase/Example**

<figure><img src="/files/ztwpqfV2c5lwAOXrW0TY" 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: 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:

```
GET https://docs.avoautomation.com/avo-assure/actions/sap/tree-control-operations/get-column-value-of-selected-tree-node.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
