Get Text and position from UI

Hello, i have a UI gettext and i must take the text position and the text value and choose the biggest value .

I am thinking that i must use Get-Text , or Get-Full-Text.Could anyone help me with this?

Hi @ElenaGadina.

You may want to use Get OCR Text on this one.
Then use string manipulation to store the information in an array (Int32).
After you store it in an array, use arrayName.Max() to get the biggest value

2 Likes

Thanks , i will try and come back with a feedback

1 Like

Sure! No problem :slight_smile:

1 Like

The problem is that every number is a different Ui element and also i could have more then 3 elements.