How to get text of field error message in Android

Hi Friends,

I am trying to get text of the error message which is displaying below.

(“Address is required” message I want to capture through Java script?)

Hi Friends,

No one tried this before  :disappointed:

So no solutions for this issue.

Hi, @bhaskar123 have you found any solution or good examples to validate this?
Or, at leas, is it possible to verify that the error message is appeared? despite what the displayed text is?