Get Text not working for field not visible on the screen

Hi,

Get Text is not working for field that is not visible on the screen.
How can I change it? Because sometimes the value is a bit “down” on the screen, but not visible at that moment. Yes, I do scroll down, but can not always make it visible, because of so many exceptions.

Thx for any suggestion.
KR, Vanja

@VanjaV You can try with “GetFullText” activity to get the text.

  • Get Text → Gets only the visible text from a UI element. May miss hidden or off-screen text.
  • Get Full Text → Gets all the text from a UI element, including hidden or off-screen parts. More reliable.

:backhand_index_pointing_right: Use Get Text for what you see, Get Full Text for everything inside.

1 Like

Thx @manasrlenka25 ,

in which package can I find the activity? I do not have it in my Studio. :frowning:

It’s a classic UI Automation Activity.

To get the classic Activity

1 Like

@VanjaV,

I would suggest to avoid using Classic activities as they would be technical debt sooner or later we will have to migrate them to Modern one.

In Modern Get Text activity, there is property named - Scrapping method set it to Fulltext and this should get you the non visible text.

2 Likes

Thx :slight_smile:
I did it, but it did not work :confused:
Thx anyway. KR, Vanja

@VanjaV,

No problem! In modern design these two activities got combined into one Get Text & Get Full Text. So this should work but in your case may be you will have to do some more configuration around Visibility check or Wait for page load

Cheers!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.