Tab Text Comparing Value

Hi All,
So today I am trying to find the difference in the on a tab

The screenshot shows an acceptable value of “13.83 Trillion”

The Value at times it is 238.6 Trillion which is an error

What would be the best way to go about this?


get element attribute value to verify is it as it should be

Thank You @Timo_Kuisma

It looks to me you need to verify the innerText of the element.

You may need to slice and dice the text to retrieve the numeric part in isolation.