Capturing Read-only Element in UI Application with Type Text Block

Capturing Read-only Element in UI Application with Type Text Block

In this article, we will discuss how to handle read-only elements in UI applications, where using the Set UI Element Value block might not work as expected. In such cases, the Type Text block provides an effective workaround.

Let’s take the example of a calculator application. Due to the read-only nature of certain fields, users may find that the Set UI Element Value block is not functional. Here, we will demonstrate how the Type Text block can be utilized to successfully interact with such elements, ensuring seamless automation.

In the example shown in the image, the Type Text block can be used to input values into the calculator's input field, where the Set UI Element Value block may not work due to the read-only nature of the field.

Below is an illustration of how to configure and use the Type Text block to effectively automate this task.

After running the above blocks, the user should be able to see the data entered into the read-only element of the calculator using the Type Text block. This ensures that even with read-only restrictions, the automation successfully writes data into the input field, making it visible in the application.

If you have any questions, contact our Priority Support team.