Web Automation question

I am trying to copy this text on the screenshot but the behaviour of this text is that it is changing each and everytime.
How will i fetch this text from here and print it in a message box, whether the text is of first image or of second image??

Hi @Rohit_Rawat1,

Welcome to the Uipath Community! :grinning:

You must make you’re selector more dynamic. If you’re selector includes aaname unselect it. If you want to learn more about selectors check this out: