Hi @rayabhijit2017,
I am not sure if you want to retrieve the UIelement attribute or are trying to get a standard html inner text. If you have already identified an UiPath Ui element in your workflow, then the retrieving the attributes within it will need a slightly different approach.
You can check the ongoing discussion in this link: Variable, Uielement