> 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/table/set-secure-text.md).

# Set Secure Text

This is a pre-built Action located under the Table captured from the AUT Element, instructs the Avo Assure to accept an encrypted text and pass the decrypted value into the application’s textbox, which is in the table cell, and save the result in the given dynamic variable.

{% hint style="info" %}
**Note:** To provide encrypted text as input to the **Set Secure Text** Action, the user should encrypt the required text using [**AES Encryption**](https://docs.avoautomation.com/avo-assure/utilities/encryption.md) from the tool’s encryption utilities.
{% endhint %}

## **Syntax**

**Input Value**: `<Row>;<Col>;<Object Type>;<Index>;<Encrypted Text>`

| Argument                               | Description                                                   |
| -------------------------------------- | ------------------------------------------------------------- |
| <p>\<Row><br>(Required)</p>            | Row number of the specified table cell                        |
| <p>\<Col><br>(Required)</p>            | Column number of the specified table cell                     |
| <p>\<Object Type><br>(Required)</p>    | Type of object inside the cell (e.g., input)                  |
| <p>\<Index><br>(Required)</p>          | Element index of the object within the cell                   |
| <p>\<Encrypted Text><br>(Required)</p> | Encrypted string to be decrypted and entered into the textbox |

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

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

#### **Example: Entering Encrypted Text into a Table Cell**

In this example, we explain how to decrypt and enter encrypted text into a textbox located in a specific cell of a table.

* **Action**: Set Secure Text
* **Input Value**: 2;2;input;1;{"iv":"zkXzWGtWkz9KUb4/","encrypted":"RAhnH2tudbS7XF90Oc3ROg==","authTag":"k9bonGzztdolrEny5Lwrog=="}
  * The first argument (**2**) specifies the row number of the table cell.
  * The second argument (**2**) specifies the column number of the table cell.
  * The third argument (**input**) specifies the object type within the cell.
  * The fourth argument (**1**) specifies the index of the object within the cell.
  * The fifth argument (**{"iv":"zkXzWGtWkz9KUb4/","encrypted":"RAhnH2tudbS7XF90Oc3ROg==","authTag":"k9bonGzztdolrEny5Lwrog=="}**) specifies the encrypted text to be decrypted and entered into the textbox.
* **Output Value**: {Secure Text}
  * Stores the execution status in the dynamic variable:
    * **True**: If the encrypted text is decrypted and entered successfully.
    * **False**: If decryption or text entry fails.
* **Logical Explanation**: The **Set Secure Text** action fetches the value from the **Input Value** column (**2;2;input;1;{"iv":"zkXzWGtWkz9KUb4/","encrypted":"RAhnH2tudbS7XF90Oc3ROg==","authTag":"k9bonGzztdolrEny5Lwrog=="}**) and decrypts the encrypted text before entering the decrypted value into the specified textbox in the second row and second column of the table. The execution status **True** is then stored in the **{Secure Text}** dynamic variable.

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FMrcIHa7OqYRmEGeZv34i%2Fimage.png?alt=media&amp;token=07f3dbca-b6aa-4b50-839a-6d8029f3b04d" 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/table/set-secure-text.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.
