Get set of text field from one activity

I have a text field set displayed in the photo, and I want to retrieve the entire text block set as one unit. This means I need to ensure that both the order and the content of the text are correct.

When I use the getText activity, it cannot select the entire set of text from one activity, and it also cannot select the “|” character.

However, when I use the getAttribute activity, I can select the entire string set (but there also seems like cannot identify the “|” character ). The problem then is how to extract the values from it. As mentioned in the visual tree (refer to the photo), all the elements are present as sub-elements. Is there a way to loop through each sub-element to retrieve their values?

Alternatively, is there another way to achieve this requirement?

image

Hi @pd2897

Did you try Find children activity
and then use for each child and use get attribute activity

Hope this helps!

I selected a text field set, but normally when we select a target, the element automatically highlights in green. However, in this case, when I select the field set, the entire page is selected as the target instead. To address this, I click on a specific area, left-click, and highlight the set I want to select. This might be the reason why the selector cannot be identified.