I wanted to get resource id and content description of android elements at runtime.
i tried this:
myElement.getAttribute("resource-id")
myElement.getAttribute("content-desc")
but getting error as "this element does not have the resource-id attribute
".
Is there any way to get this ?